home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Word Games • / HangMan Plus v2.0 / HangMan Plus v2.0.rsrc / CODE_2.txt < prev    next >
Text File  |  1991-09-24  |  337KB  |  6,049 lines

  1. # near model CODE resource
  2. # jump table entries: 80-93 (14 of them)
  3. fn00000000:
  4. 00000000  4E56 FF9E                link       A6, -0x0062
  5. 00000004  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  6. 00000008  286E 0008                movea.l    A4, [A6 + 0x8]
  7. 0000000C  266E 000C                movea.l    A3, [A6 + 0xC]
  8. 00000010  206E 0010                movea.l    A0, [A6 + 0x10]
  9. 00000014  2D50 FFE0                move.l     [A6 - 0x20], [A0]
  10. 00000018  2D68 0004 FFE4           move.l     [A6 - 0x1C], [A0 + 0x4]
  11. 0000001E  226E 0014                movea.l    A1, [A6 + 0x14]
  12. 00000022  2D51 FFD8                move.l     [A6 - 0x28], [A1]
  13. 00000026  2D69 0004 FFDC           move.l     [A6 - 0x24], [A1 + 0x4]
  14. 0000002C  486E FFA0                pea.l      [A6 - 0x60]
  15. 00000030  A874                     syscall    GetPort
  16. 00000032  3A2E FFE6                move.w     D5, [A6 - 0x1A]
  17. 00000036  9A6E FFE2                sub.w      D5, [A6 - 0x1E]
  18. 0000003A  302E FFE4                move.w     D0, [A6 - 0x1C]
  19. 0000003E  906E FFE0                sub.w      D0, [A6 - 0x20]
  20. 00000042  3D40 FFFE                move.w     [A6 - 0x2], D0
  21. 00000046  2D6E FFE0 FFB8           move.l     [A6 - 0x48], [A6 - 0x20]
  22. 0000004C  2D6E FFE4 FFBC           move.l     [A6 - 0x44], [A6 - 0x1C]
  23. 00000052  2D6E FFB8 FFC8           move.l     [A6 - 0x38], [A6 - 0x48]
  24. 00000058  2D6E FFBC FFCC           move.l     [A6 - 0x34], [A6 - 0x44]
  25. 0000005E  2D6E FFD8 FFB0           move.l     [A6 - 0x50], [A6 - 0x28]
  26. 00000064  2D6E FFDC FFB4           move.l     [A6 - 0x4C], [A6 - 0x24]
  27. 0000006A  2D6E FFB0 FFC0           move.l     [A6 - 0x40], [A6 - 0x50]
  28. 00000070  2D6E FFB4 FFC4           move.l     [A6 - 0x3C], [A6 - 0x4C]
  29. 00000076  362E 001A                move.w     D3, [A6 + 0x1A]
  30. 0000007A  BA43                     cmp.w      D5, D3
  31. 0000007C  6D06                     blt        +0x8 /* 00000084 */
  32. 0000007E  B66E FFFE                cmp.w      D3, [A6 - 0x2]
  33. 00000082  6F02                     ble        +0x4 /* 00000086 */
  34. label00000084:
  35. 00000084  7601                     moveq.l    D3, 0x01
  36. label00000086:
  37. 00000086  302E 0018                move.w     D0, [A6 + 0x18]
  38. 0000008A  0C40 0014                cmpi.w     D0, 0x14
  39. 0000008E  6200 03C2                bhi        +0x3C4 /* 00000452 */
  40. 00000092  43FA 03C6                lea.l      A1, [PC + 0x3C6 /* 0000045A, value 0xFCFAFFF8 */]
  41. 00000096  D040                     add.w      D0, D0
  42. 00000098  D2F1 0000                add.w      A1, [A1 + D0.w]
  43. 0000009C  4ED1                     jmp        [A1]
  44. 0000009E  302E FFCC                move.w     D0, [A6 - 0x34]
  45. 000000A2  9043                     sub.w      D0, D3
  46. 000000A4  3D40 FFC8                move.w     [A6 - 0x38], D0
  47. 000000A8  3D6E FFDC FFFC           move.w     [A6 - 0x4], [A6 - 0x24]
  48. 000000AE  302E FFFC                move.w     D0, [A6 - 0x4]
  49. 000000B2  9043                     sub.w      D0, D3
  50. 000000B4  3D40 FFFA                move.w     [A6 - 0x6], D0
  51. 000000B8  486E FFC0                pea.l      [A6 - 0x40]
  52. 000000BC  3F2E FFDA                move.w     -[A7], [A6 - 0x26]
  53. 000000C0  3F00                     move.w     -[A7], D0
  54. 000000C2  3F2E FFDE                move.w     -[A7], [A6 - 0x22]
  55. 000000C6  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  56. 000000CA  A8A7                     syscall    SetRect
  57. 000000CC  7800                     moveq.l    D4, 0x00
  58. 000000CE  6074                     bra        +0x76 /* 00000144 */
  59. label000000D0:
  60. 000000D0  4EBA 03B2                jsr        [PC + 0x3B2 /* 00000484 */]
  61. 000000D4  4A40                     tst.w      D0
  62. 000000D6  6600 037A                bne        +0x37C /* 00000452 */
  63. 000000DA  2F0C                     move.l     -[A7], A4
  64. 000000DC  2F0B                     move.l     -[A7], A3
  65. 000000DE  486E FFC8                pea.l      [A6 - 0x38]
  66. 000000E2  486E FFC0                pea.l      [A6 - 0x40]
  67. 000000E6  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  68. 000000EA  42A7                     clr.l      -[A7]
  69. 000000EC  A8EC                     syscall    CopyBits
  70. 000000EE  486E FFC8                pea.l      [A6 - 0x38]
  71. 000000F2  4267                     clr.w      -[A7]
  72. 000000F4  3003                     move.w     D0, D3
  73. 000000F6  4440                     neg.w      D0
  74. 000000F8  3F00                     move.w     -[A7], D0
  75. 000000FA  A8A8                     syscall    OffsetRect
  76. 000000FC  486E FFC0                pea.l      [A6 - 0x40]
  77. 00000100  4267                     clr.w      -[A7]
  78. 00000102  3003                     move.w     D0, D3
  79. 00000104  4440                     neg.w      D0
  80. 00000106  3F00                     move.w     -[A7], D0
  81. 00000108  A8A8                     syscall    OffsetRect
  82. 0000010A  302E FFC0                move.w     D0, [A6 - 0x40]
  83. 0000010E  B06E FFD8                cmp.w      D0, [A6 - 0x28]
  84. 00000112  6C24                     bge        +0x26 /* 00000138 */
  85. 00000114  486E FFC0                pea.l      [A6 - 0x40]
  86. 00000118  4267                     clr.w      -[A7]
  87. 0000011A  302E FFD8                move.w     D0, [A6 - 0x28]
  88. 0000011E  906E FFC0                sub.w      D0, [A6 - 0x40]
  89. 00000122  3F00                     move.w     -[A7], D0
  90. 00000124  A8A8                     syscall    OffsetRect
  91. 00000126  486E FFC8                pea.l      [A6 - 0x38]
  92. 0000012A  4267                     clr.w      -[A7]
  93. 0000012C  302E FFE0                move.w     D0, [A6 - 0x20]
  94. 00000130  906E FFC8                sub.w      D0, [A6 - 0x38]
  95. 00000134  3F00                     move.w     -[A7], D0
  96. 00000136  A8A8                     syscall    OffsetRect
  97. label00000138:
  98. 00000138  3F2E 001C                move.w     -[A7], [A6 + 0x1C]
  99. 0000013C  4EBA 1E58                jsr        [PC + 0x1E58 /* 00001F96 */]
  100. 00000140  548F                     addq.l     A7, 2
  101. 00000142  5244                     addq.w     D4, 1
  102. label00000144:
  103. 00000144  302E FFFE                move.w     D0, [A6 - 0x2]
  104. 00000148  48C0                     ext.l      D0
  105. 0000014A  81C3                     divs.w     D0, D3
  106. 0000014C  B044                     cmp.w      D0, D4
  107. 0000014E  6C80                     bge        -0x7E /* 000000D0 */
  108. 00000150  6000 0300                bra        +0x302 /* 00000452 */
  109. 00000154  302E FFCA                move.w     D0, [A6 - 0x36]
  110. 00000158  D043                     add.w      D0, D3
  111. 0000015A  3D40 FFCE                move.w     [A6 - 0x32], D0
  112. 0000015E  302E FFBE                move.w     D0, [A6 - 0x42]
  113. 00000162  9043                     sub.w      D0, D3
  114. 00000164  3D40 FFBA                move.w     [A6 - 0x46], D0
  115. 00000168  302E FFC2                move.w     D0, [A6 - 0x3E]
  116. 0000016C  D043                     add.w      D0, D3
  117. 0000016E  3D40 FFC6                move.w     [A6 - 0x3A], D0
  118. 00000172  302E FFB6                move.w     D0, [A6 - 0x4A]
  119. 00000176  9043                     sub.w      D0, D3
  120. 00000178  3D40 FFB2                move.w     [A6 - 0x4E], D0
  121. 0000017C  7800                     moveq.l    D4, 0x00
  122. 0000017E  6000 00FC                bra        +0xFE /* 0000027C */
  123. label00000182:
  124. 00000182  4EBA 0300                jsr        [PC + 0x300 /* 00000484 */]
  125. 00000186  4A40                     tst.w      D0
  126. 00000188  6600 02C8                bne        +0x2CA /* 00000452 */
  127. 0000018C  2F0C                     move.l     -[A7], A4
  128. 0000018E  2F0B                     move.l     -[A7], A3
  129. 00000190  486E FFC8                pea.l      [A6 - 0x38]
  130. 00000194  486E FFC0                pea.l      [A6 - 0x40]
  131. 00000198  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  132. 0000019C  42A7                     clr.l      -[A7]
  133. 0000019E  A8EC                     syscall    CopyBits
  134. 000001A0  486E FFC8                pea.l      [A6 - 0x38]
  135. 000001A4  3F03                     move.w     -[A7], D3
  136. 000001A6  4267                     clr.w      -[A7]
  137. 000001A8  A8A8                     syscall    OffsetRect
  138. 000001AA  486E FFC0                pea.l      [A6 - 0x40]
  139. 000001AE  3F03                     move.w     -[A7], D3
  140. 000001B0  4267                     clr.w      -[A7]
  141. 000001B2  A8A8                     syscall    OffsetRect
  142. 000001B4  2005                     move.l     D0, D5
  143. 000001B6  48C0                     ext.l      D0
  144. 000001B8  81FC 0002                divs.w     D0, 0x2
  145. 000001BC  D06E FFDA                add.w      D0, [A6 - 0x26]
  146. 000001C0  B06E FFC6                cmp.w      D0, [A6 - 0x3A]
  147. 000001C4  6C34                     bge        +0x36 /* 000001FA */
  148. 000001C6  486E FFC0                pea.l      [A6 - 0x40]
  149. 000001CA  2005                     move.l     D0, D5
  150. 000001CC  48C0                     ext.l      D0
  151. 000001CE  81FC 0002                divs.w     D0, 0x2
  152. 000001D2  D06E FFDA                add.w      D0, [A6 - 0x26]
  153. 000001D6  906E FFC6                sub.w      D0, [A6 - 0x3A]
  154. 000001DA  3F00                     move.w     -[A7], D0
  155. 000001DC  4267                     clr.w      -[A7]
  156. 000001DE  A8A8                     syscall    OffsetRect
  157. 000001E0  486E FFC8                pea.l      [A6 - 0x38]
  158. 000001E4  2005                     move.l     D0, D5
  159. 000001E6  48C0                     ext.l      D0
  160. 000001E8  81FC 0002                divs.w     D0, 0x2
  161. 000001EC  D06E FFE2                add.w      D0, [A6 - 0x1E]
  162. 000001F0  906E FFCE                sub.w      D0, [A6 - 0x32]
  163. 000001F4  3F00                     move.w     -[A7], D0
  164. 000001F6  4267                     clr.w      -[A7]
  165. 000001F8  A8A8                     syscall    OffsetRect
  166. label000001FA:
  167. 000001FA  2F0C                     move.l     -[A7], A4
  168. 000001FC  2F0B                     move.l     -[A7], A3
  169. 000001FE  486E FFB8                pea.l      [A6 - 0x48]
  170. 00000202  486E FFB0                pea.l      [A6 - 0x50]
  171. 00000206  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  172. 0000020A  42A7                     clr.l      -[A7]
  173. 0000020C  A8EC                     syscall    CopyBits
  174. 0000020E  486E FFB8                pea.l      [A6 - 0x48]
  175. 00000212  3003                     move.w     D0, D3
  176. 00000214  4440                     neg.w      D0
  177. 00000216  3F00                     move.w     -[A7], D0
  178. 00000218  4267                     clr.w      -[A7]
  179. 0000021A  A8A8                     syscall    OffsetRect
  180. 0000021C  486E FFB0                pea.l      [A6 - 0x50]
  181. 00000220  3003                     move.w     D0, D3
  182. 00000222  4440                     neg.w      D0
  183. 00000224  3F00                     move.w     -[A7], D0
  184. 00000226  4267                     clr.w      -[A7]
  185. 00000228  A8A8                     syscall    OffsetRect
  186. 0000022A  2005                     move.l     D0, D5
  187. 0000022C  48C0                     ext.l      D0
  188. 0000022E  81FC 0002                divs.w     D0, 0x2
  189. 00000232  D06E FFDA                add.w      D0, [A6 - 0x26]
  190. 00000236  B06E FFB2                cmp.w      D0, [A6 - 0x4E]
  191. 0000023A  6F34                     ble        +0x36 /* 00000270 */
  192. 0000023C  486E FFB0                pea.l      [A6 - 0x50]
  193. 00000240  2005                     move.l     D0, D5
  194. 00000242  48C0                     ext.l      D0
  195. 00000244  81FC 0002                divs.w     D0, 0x2
  196. 00000248  D06E FFDA                add.w      D0, [A6 - 0x26]
  197. 0000024C  906E FFB2                sub.w      D0, [A6 - 0x4E]
  198. 00000250  3F00                     move.w     -[A7], D0
  199. 00000252  4267                     clr.w      -[A7]
  200. 00000254  A8A8                     syscall    OffsetRect
  201. 00000256  486E FFB8                pea.l      [A6 - 0x48]
  202. 0000025A  2005                     move.l     D0, D5
  203. 0000025C  48C0                     ext.l      D0
  204. 0000025E  81FC 0002                divs.w     D0, 0x2
  205. 00000262  D06E FFE2                add.w      D0, [A6 - 0x1E]
  206. 00000266  906E FFBA                sub.w      D0, [A6 - 0x46]
  207. 0000026A  3F00                     move.w     -[A7], D0
  208. 0000026C  4267                     clr.w      -[A7]
  209. 0000026E  A8A8                     syscall    OffsetRect
  210. label00000270:
  211. 00000270  3F2E 001C                move.w     -[A7], [A6 + 0x1C]
  212. 00000274  4EBA 1D20                jsr        [PC + 0x1D20 /* 00001F96 */]
  213. 00000278  548F                     addq.l     A7, 2
  214. 0000027A  5244                     addq.w     D4, 1
  215. label0000027C:
  216. 0000027C  3003                     move.w     D0, D3
  217. 0000027E  D040                     add.w      D0, D0
  218. 00000280  2205                     move.l     D1, D5
  219. 00000282  48C1                     ext.l      D1
  220. 00000284  83C0                     divs.w     D1, D0
  221. 00000286  B244                     cmp.w      D1, D4
  222. 00000288  6C00 FEF8                bge        -0x106 /* 00000182 */
  223. 0000028C  6000 01C4                bra        +0x1C6 /* 00000452 */
  224. 00000290  3C2E FFDC                move.w     D6, [A6 - 0x24]
  225. 00000294  9C6E FFD8                sub.w      D6, [A6 - 0x28]
  226. 00000298  302E FFDE                move.w     D0, [A6 - 0x22]
  227. 0000029C  906E FFDA                sub.w      D0, [A6 - 0x26]
  228. 000002A0  3D40 FFEC                move.w     [A6 - 0x14], D0
  229. 000002A4  0C6E 0014 0018           cmpi.w     [A6 + 0x18], 0x14
  230. 000002AA  6644                     bne        +0x46 /* 000002F0 */
  231. 000002AC  302E FFEC                move.w     D0, [A6 - 0x14]
  232. 000002B0  48C0                     ext.l      D0
  233. 000002B2  81FC 0002                divs.w     D0, 0x2
  234. 000002B6  D06E FFDA                add.w      D0, [A6 - 0x26]
  235. 000002BA  3E00                     move.w     D7, D0
  236. 000002BC  2006                     move.l     D0, D6
  237. 000002BE  48C0                     ext.l      D0
  238. 000002C0  81FC 0002                divs.w     D0, 0x2
  239. 000002C4  D06E FFD8                add.w      D0, [A6 - 0x28]
  240. 000002C8  3D40 FFF4                move.w     [A6 - 0xC], D0
  241. 000002CC  2206                     move.l     D1, D6
  242. 000002CE  48C1                     ext.l      D1
  243. 000002D0  83FC 0002                divs.w     D1, 0x2
  244. 000002D4  3F01                     move.w     -[A7], D1
  245. 000002D6  322E FFEC                move.w     D1, [A6 - 0x14]
  246. 000002DA  48C1                     ext.l      D1
  247. 000002DC  83FC 0002                divs.w     D1, 0x2
  248. 000002E0  3F01                     move.w     -[A7], D1
  249. 000002E2  4EBA 01C2                jsr        [PC + 0x1C2 /* 000004A6 */]
  250. 000002E6  3D40 FFF2                move.w     [A6 - 0xE], D0
  251. 000002EA  588F                     addq.l     A7, 4
  252. 000002EC  6000 00DA                bra        +0xDC /* 000003C8 */
  253. label000002F0:
  254. 000002F0  0C6E 000D 0018           cmpi.w     [A6 + 0x18], 0xD /* '\r' */
  255. 000002F6  6630                     bne        +0x32 /* 00000328 */
  256. 000002F8  2006                     move.l     D0, D6
  257. 000002FA  48C0                     ext.l      D0
  258. 000002FC  81FC 0002                divs.w     D0, 0x2
  259. 00000300  3F00                     move.w     -[A7], D0
  260. 00000302  302E FFEC                move.w     D0, [A6 - 0x14]
  261. 00000306  48C0                     ext.l      D0
  262. 00000308  81FC 0002                divs.w     D0, 0x2
  263. 0000030C  3F00                     move.w     -[A7], D0
  264. 0000030E  4EBA 0196                jsr        [PC + 0x196 /* 000004A6 */]
  265. 00000312  D040                     add.w      D0, D0
  266. 00000314  3D40 FFF2                move.w     [A6 - 0xE], D0
  267. 00000318  3E2E FFDA                move.w     D7, [A6 - 0x26]
  268. 0000031C  3D6E FFD8 FFF4           move.w     [A6 - 0xC], [A6 - 0x28]
  269. 00000322  588F                     addq.l     A7, 4
  270. 00000324  6000 00A2                bra        +0xA4 /* 000003C8 */
  271. label00000328:
  272. 00000328  0C6E 000E 0018           cmpi.w     [A6 + 0x18], 0xE
  273. 0000032E  662E                     bne        +0x30 /* 0000035E */
  274. 00000330  2006                     move.l     D0, D6
  275. 00000332  48C0                     ext.l      D0
  276. 00000334  81FC 0002                divs.w     D0, 0x2
  277. 00000338  3F00                     move.w     -[A7], D0
  278. 0000033A  302E FFEC                move.w     D0, [A6 - 0x14]
  279. 0000033E  48C0                     ext.l      D0
  280. 00000340  81FC 0002                divs.w     D0, 0x2
  281. 00000344  3F00                     move.w     -[A7], D0
  282. 00000346  4EBA 015E                jsr        [PC + 0x15E /* 000004A6 */]
  283. 0000034A  D040                     add.w      D0, D0
  284. 0000034C  3D40 FFF2                move.w     [A6 - 0xE], D0
  285. 00000350  3E2E FFDE                move.w     D7, [A6 - 0x22]
  286. 00000354  3D6E FFD8 FFF4           move.w     [A6 - 0xC], [A6 - 0x28]
  287. 0000035A  588F                     addq.l     A7, 4
  288. 0000035C  606A                     bra        +0x6C /* 000003C8 */
  289. label0000035E:
  290. 0000035E  0C6E 000A 0018           cmpi.w     [A6 + 0x18], 0xA /* '\n' */
  291. 00000364  662E                     bne        +0x30 /* 00000394 */
  292. 00000366  2006                     move.l     D0, D6
  293. 00000368  48C0                     ext.l      D0
  294. 0000036A  81FC 0002                divs.w     D0, 0x2
  295. 0000036E  3F00                     move.w     -[A7], D0
  296. 00000370  302E FFEC                move.w     D0, [A6 - 0x14]
  297. 00000374  48C0                     ext.l      D0
  298. 00000376  81FC 0002                divs.w     D0, 0x2
  299. 0000037A  3F00                     move.w     -[A7], D0
  300. 0000037C  4EBA 0128                jsr        [PC + 0x128 /* 000004A6 */]
  301. 00000380  D040                     add.w      D0, D0
  302. 00000382  3D40 FFF2                move.w     [A6 - 0xE], D0
  303. 00000386  3E2E FFDA                move.w     D7, [A6 - 0x26]
  304. 0000038A  3D6E FFDC FFF4           move.w     [A6 - 0xC], [A6 - 0x24]
  305. 00000390  588F                     addq.l     A7, 4
  306. 00000392  6034                     bra        +0x36 /* 000003C8 */
  307. label00000394:
  308. 00000394  0C6E 000B 0018           cmpi.w     [A6 + 0x18], 0xB
  309. 0000039A  662C                     bne        +0x2E /* 000003C8 */
  310. 0000039C  2006                     move.l     D0, D6
  311. 0000039E  48C0                     ext.l      D0
  312. 000003A0  81FC 0002                divs.w     D0, 0x2
  313. 000003A4  3F00                     move.w     -[A7], D0
  314. 000003A6  302E FFEC                move.w     D0, [A6 - 0x14]
  315. 000003AA  48C0                     ext.l      D0
  316. 000003AC  81FC 0002                divs.w     D0, 0x2
  317. 000003B0  3F00                     move.w     -[A7], D0
  318. 000003B2  4EBA 00F2                jsr        [PC + 0xF2 /* 000004A6 */]
  319. 000003B6  D040                     add.w      D0, D0
  320. 000003B8  3D40 FFF2                move.w     [A6 - 0xE], D0
  321. 000003BC  3E2E FFDE                move.w     D7, [A6 - 0x22]
  322. 000003C0  3D6E FFDC FFF4           move.w     [A6 - 0xC], [A6 - 0x24]
  323. 000003C6  588F                     addq.l     A7, 4
  324. label000003C8:
  325. 000003C8  42A7                     clr.l      -[A7]
  326. 000003CA  A8D8                     syscall    NewRgn
  327. 000003CC  245F                     movea.l    A2, [A7]+
  328. 000003CE  7800                     moveq.l    D4, 0x00
  329. 000003D0  6058                     bra        +0x5A /* 0000042A */
  330. label000003D2:
  331. 000003D2  4EBA 00B0                jsr        [PC + 0xB0 /* 00000484 */]
  332. 000003D6  4A40                     tst.w      D0
  333. 000003D8  6656                     bne        +0x58 /* 00000430 */
  334. 000003DA  A8DA                     syscall    OpenRgn
  335. 000003DC  302E FFF4                move.w     D0, [A6 - 0xC]
  336. 000003E0  9044                     sub.w      D0, D4
  337. 000003E2  3D40 FFD0                move.w     [A6 - 0x30], D0
  338. 000003E6  302E FFF4                move.w     D0, [A6 - 0xC]
  339. 000003EA  D044                     add.w      D0, D4
  340. 000003EC  3D40 FFD4                move.w     [A6 - 0x2C], D0
  341. 000003F0  3007                     move.w     D0, D7
  342. 000003F2  9044                     sub.w      D0, D4
  343. 000003F4  3D40 FFD2                move.w     [A6 - 0x2E], D0
  344. 000003F8  3007                     move.w     D0, D7
  345. 000003FA  D044                     add.w      D0, D4
  346. 000003FC  3D40 FFD6                move.w     [A6 - 0x2A], D0
  347. 00000400  486E FFD0                pea.l      [A6 - 0x30]
  348. 00000404  A8B7                     syscall    FrameOval
  349. 00000406  2F0A                     move.l     -[A7], A2
  350. 00000408  A8DB                     syscall    CloseRgn
  351. 0000040A  2F0C                     move.l     -[A7], A4
  352. 0000040C  2F0B                     move.l     -[A7], A3
  353. 0000040E  486E FFE0                pea.l      [A6 - 0x20]
  354. 00000412  486E FFD8                pea.l      [A6 - 0x28]
  355. 00000416  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  356. 0000041A  2F0A                     move.l     -[A7], A2
  357. 0000041C  A8EC                     syscall    CopyBits
  358. 0000041E  3F2E 001C                move.w     -[A7], [A6 + 0x1C]
  359. 00000422  4EBA 1B72                jsr        [PC + 0x1B72 /* 00001F96 */]
  360. 00000426  548F                     addq.l     A7, 2
  361. 00000428  D843                     add.w      D4, D3
  362. label0000042A:
  363. 0000042A  B86E FFF2                cmp.w      D4, [A6 - 0xE]
  364. 0000042E  6DA2                     blt        -0x5C /* 000003D2 */
  365. label00000430:
  366. 00000430  2F0A                     move.l     -[A7], A2
  367. 00000432  A8D9                     syscall    DisposRgn/DisposeRgn
  368. 00000434  601C                     bra        +0x1E /* 00000452 */
  369. 00000436  4EBA 004C                jsr        [PC + 0x4C /* 00000484 */]
  370. 0000043A  4A40                     tst.w      D0
  371. 0000043C  6614                     bne        +0x16 /* 00000452 */
  372. 0000043E  2F0C                     move.l     -[A7], A4
  373. 00000440  2F0B                     move.l     -[A7], A3
  374. 00000442  486E FFC8                pea.l      [A6 - 0x38]
  375. 00000446  486E FFC0                pea.l      [A6 - 0x40]
  376. 0000044A  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  377. 0000044E  42A7                     clr.l      -[A7]
  378. 00000450  A8EC                     syscall    CopyBits
  379. label00000452:
  380. 00000452  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  381. 00000456  4E5E                     unlink     A6
  382. 00000458  4E75                     rts
  383. 0000045A  FCFA FFF8                .extension 0xCFA <<F/2-3/6>> // unimplemented
  384. 0000045E  FFF8                     .invalid   <<F/7/7>>
  385. 00000460  FFDC                     .invalid   <<F/7/7>>
  386. 00000462  FFF8                     .invalid   <<F/7/7>>
  387. 00000464  FFF8                     .invalid   <<F/7/7>>
  388. 00000466  FFF8                     .invalid   <<F/7/7>>
  389. 00000468  FFF8                     .invalid   <<F/7/7>>
  390. 0000046A  FFF8                     .invalid   <<F/7/7>>
  391. 0000046C  FFF8                     .invalid   <<F/7/7>>
  392. 0000046E  FE36 FE36                .unknown   0xFE36 0xFE36 (W = 7)
  393. 00000472  FFF8                     .invalid   <<F/7/7>>
  394. 00000474  FE36 FE36                .unknown   0xFE36 0xFE36 (W = 7)
  395. 00000478  FC44 FFF8                .extension 0xC44 <<F/1/6>>, 0xFFF8 // unimplemented
  396. 0000047C  FFF8                     .invalid   <<F/7/7>>
  397. 0000047E  FFF8                     .invalid   <<F/7/7>>
  398. 00000480  FFF8                     .invalid   <<F/7/7>>
  399. 00000482  FE36 4E56                .unknown   0xFE36 0x4E56 (W = 7)
  400. // begin alternate branch 00000484-00000488
  401. fn00000484:
  402. 00000484  4E56 FFF0                link       A6, -0x0010
  403. // end alternate branch 00000484-00000488
  404. fn00000484: // (misaligned)
  405. 00000486  FFF0                     .invalid   <<F/7/7>>
  406. 00000488  7000                     moveq.l    D0, 0x00
  407. 0000048A  6016                     bra        +0x18 /* 000004A2 */
  408. 0000048C  4227                     clr.b      -[A7]
  409. 0000048E  3F3C 0002                move.w     -[A7], 0x2
  410. 00000492  486E FFF0                pea.l      [A6 - 0x10]
  411. 00000496  A971                     syscall    EventAvail
  412. 00000498  4A1F                     tst.b      [A7]+
  413. 0000049A  6704                     beq        +0x6 /* 000004A0 */
  414. 0000049C  7001                     moveq.l    D0, 0x01
  415. 0000049E  6002                     bra        +0x4 /* 000004A2 */
  416. label000004A0:
  417. 000004A0  7000                     moveq.l    D0, 0x00
  418. label000004A2:
  419. 000004A2  4E5E                     unlink     A6
  420. 000004A4  4E75                     rts
  421. fn000004A6:
  422. 000004A6  4E56 0000                link       A6, 0
  423. 000004AA  48E7 0300                movem.l    -[A7], D6,D7
  424. 000004AE  3E2E 0008                move.w     D7, [A6 + 0x8]
  425. 000004B2  48C7                     ext.l      D7
  426. 000004B4  3C2E 000A                move.w     D6, [A6 + 0xA]
  427. 000004B8  48C6                     ext.l      D6
  428. 000004BA  2F07                     move.l     -[A7], D7
  429. 000004BC  2F07                     move.l     -[A7], D7
  430. 000004BE  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  431. 000004C2  2F06                     move.l     -[A7], D6
  432. 000004C4  2F06                     move.l     -[A7], D6
  433. 000004C6  2200                     move.l     D1, D0
  434. 000004C8  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  435. 000004CC  C141                     exg        D0, D1
  436. 000004CE  D081                     add.l      D0, D1
  437. 000004D0  2F00                     move.l     -[A7], D0
  438. 000004D2  4EBA 000C                jsr        [PC + 0xC /* 000004E0 */]
  439. 000004D6  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  440. 000004DC  4E5E                     unlink     A6
  441. 000004DE  4E75                     rts
  442. fn000004E0:
  443. 000004E0  4E56 0000                link       A6, 0
  444. 000004E4  48E7 0700                movem.l    -[A7], D5,D6,D7
  445. 000004E8  2E2E 0008                move.l     D7, [A6 + 0x8]
  446. 000004EC  2C3C 4000 0000           move.l     D6, 0x40000000 /* '@\0\0\0' */
  447. 000004F2  7A00                     moveq.l    D5, 0x00
  448. label000004F4:
  449. 000004F4  7000                     moveq.l    D0, 0x00
  450. 000004F6  3005                     move.w     D0, D5
  451. 000004F8  D086                     add.l      D0, D6
  452. 000004FA  B087                     cmp.l      D0, D7
  453. 000004FC  620E                     bhi        +0x10 /* 0000050C */
  454. 000004FE  7000                     moveq.l    D0, 0x00
  455. 00000500  3005                     move.w     D0, D5
  456. 00000502  D086                     add.l      D0, D6
  457. 00000504  9E80                     sub.l      D7, D0
  458. 00000506  E24D                     lsr        D5.w, 1
  459. 00000508  DA46                     add.w      D5, D6
  460. 0000050A  6002                     bra        +0x4 /* 0000050E */
  461. label0000050C:
  462. 0000050C  E24D                     lsr        D5.w, 1
  463. label0000050E:
  464. 0000050E  E48E                     lsr        D6, 2
  465. 00000510  4A86                     tst.l      D6
  466. 00000512  62E0                     bhi        -0x1E /* 000004F4 */
  467. 00000514  3005                     move.w     D0, D5
  468. 00000516  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  469. 0000051A  4E5E                     unlink     A6
  470. 0000051C  4E75                     rts
  471. export_10:
  472. 0000051E  4E56 0000                link       A6, 0
  473. 00000522  48E7 0308                movem.l    -[A7], D6,D7,A4
  474. 00000526  286E 000A                movea.l    A4, [A6 + 0xA]
  475. 0000052A  302E 0008                move.w     D0, [A6 + 0x8]
  476. 0000052E  6B00 00FA                bmi        +0xFC /* 0000062A */
  477. 00000532  0440 0016                subi.w     D0, 0x16
  478. 00000536  674A                     beq        +0x4C /* 00000582 */
  479. 00000538  6A0A                     bpl        +0xC /* 00000544 */
  480. 0000053A  5440                     addq.w     D0, 2
  481. 0000053C  6710                     beq        +0x12 /* 0000054E */
  482. 0000053E  6A7C                     bpl        +0x7E /* 000005BC */
  483. 00000540  6000 00E8                bra        +0xEA /* 0000062A */
  484. label00000544:
  485. 00000544  5540                     subq.w     D0, 2
  486. 00000546  6A00 00E2                bpl        +0xE4 /* 0000062A */
  487. 0000054A  6000 00A6                bra        +0xA8 /* 000005F2 */
  488. label0000054E:
  489. 0000054E  4267                     clr.w      -[A7]
  490. 00000550  2F0C                     move.l     -[A7], A4
  491. 00000552  A960                     syscall    GetControlValue/GetCtlValue
  492. 00000554  3E1F                     move.w     D7, [A7]+
  493. 00000556  206D E604                movea.l    A0, [A5 - 0x19FC]
  494. 0000055A  2050                     movea.l    A0, [A0]
  495. 0000055C  3007                     move.w     D0, D7
  496. 0000055E  9068 0018                sub.w      D0, [A0 + 0x18]
  497. 00000562  4A40                     tst.w      D0
  498. 00000564  6F0E                     ble        +0x10 /* 00000574 */
  499. 00000566  206D E604                movea.l    A0, [A5 - 0x19FC]
  500. 0000056A  2050                     movea.l    A0, [A0]
  501. 0000056C  3007                     move.w     D0, D7
  502. 0000056E  9068 0018                sub.w      D0, [A0 + 0x18]
  503. 00000572  6002                     bra        +0x4 /* 00000576 */
  504. label00000574:
  505. 00000574  7000                     moveq.l    D0, 0x00
  506. label00000576:
  507. 00000576  3E00                     move.w     D7, D0
  508. 00000578  2F0C                     move.l     -[A7], A4
  509. 0000057A  3F07                     move.w     -[A7], D7
  510. 0000057C  A963                     syscall    SetControlValue/SetCtlValue
  511. 0000057E  6000 00AA                bra        +0xAC /* 0000062A */
  512. label00000582:
  513. 00000582  4267                     clr.w      -[A7]
  514. 00000584  2F0C                     move.l     -[A7], A4
  515. 00000586  A960                     syscall    GetControlValue/GetCtlValue
  516. 00000588  3E1F                     move.w     D7, [A7]+
  517. 0000058A  206D E604                movea.l    A0, [A5 - 0x19FC]
  518. 0000058E  2050                     movea.l    A0, [A0]
  519. 00000590  700A                     moveq.l    D0, 0x0A
  520. 00000592  C1E8 0018                muls.w     D0, [A0 + 0x18]
  521. 00000596  3207                     move.w     D1, D7
  522. 00000598  9240                     sub.w      D1, D0
  523. 0000059A  4A41                     tst.w      D1
  524. 0000059C  6F12                     ble        +0x14 /* 000005B0 */
  525. 0000059E  206D E604                movea.l    A0, [A5 - 0x19FC]
  526. 000005A2  2050                     movea.l    A0, [A0]
  527. 000005A4  700A                     moveq.l    D0, 0x0A
  528. 000005A6  C1E8 0018                muls.w     D0, [A0 + 0x18]
  529. 000005AA  3207                     move.w     D1, D7
  530. 000005AC  9240                     sub.w      D1, D0
  531. 000005AE  6002                     bra        +0x4 /* 000005B2 */
  532. label000005B0:
  533. 000005B0  7200                     moveq.l    D1, 0x00
  534. label000005B2:
  535. 000005B2  3E01                     move.w     D7, D1
  536. 000005B4  2F0C                     move.l     -[A7], A4
  537. 000005B6  3F07                     move.w     -[A7], D7
  538. 000005B8  A963                     syscall    SetControlValue/SetCtlValue
  539. 000005BA  606E                     bra        +0x70 /* 0000062A */
  540. label000005BC:
  541. 000005BC  4267                     clr.w      -[A7]
  542. 000005BE  2F0C                     move.l     -[A7], A4
  543. 000005C0  A960                     syscall    GetControlValue/GetCtlValue
  544. 000005C2  3E1F                     move.w     D7, [A7]+
  545. 000005C4  206D E604                movea.l    A0, [A5 - 0x19FC]
  546. 000005C8  2050                     movea.l    A0, [A0]
  547. 000005CA  3028 0018                move.w     D0, [A0 + 0x18]
  548. 000005CE  D047                     add.w      D0, D7
  549. 000005D0  B06D E5DC                cmp.w      D0, [A5 - 0x1A24]
  550. 000005D4  6C0E                     bge        +0x10 /* 000005E4 */
  551. 000005D6  206D E604                movea.l    A0, [A5 - 0x19FC]
  552. 000005DA  2050                     movea.l    A0, [A0]
  553. 000005DC  3028 0018                move.w     D0, [A0 + 0x18]
  554. 000005E0  D047                     add.w      D0, D7
  555. 000005E2  6004                     bra        +0x6 /* 000005E8 */
  556. label000005E4:
  557. 000005E4  302D E5DC                move.w     D0, [A5 - 0x1A24]
  558. label000005E8:
  559. 000005E8  3E00                     move.w     D7, D0
  560. 000005EA  2F0C                     move.l     -[A7], A4
  561. 000005EC  3F07                     move.w     -[A7], D7
  562. 000005EE  A963                     syscall    SetControlValue/SetCtlValue
  563. 000005F0  6038                     bra        +0x3A /* 0000062A */
  564. label000005F2:
  565. 000005F2  4267                     clr.w      -[A7]
  566. 000005F4  2F0C                     move.l     -[A7], A4
  567. 000005F6  A960                     syscall    GetControlValue/GetCtlValue
  568. 000005F8  3E1F                     move.w     D7, [A7]+
  569. 000005FA  206D E604                movea.l    A0, [A5 - 0x19FC]
  570. 000005FE  2050                     movea.l    A0, [A0]
  571. 00000600  700A                     moveq.l    D0, 0x0A
  572. 00000602  C1E8 0018                muls.w     D0, [A0 + 0x18]
  573. 00000606  D047                     add.w      D0, D7
  574. 00000608  B06D E5DC                cmp.w      D0, [A5 - 0x1A24]
  575. 0000060C  6C10                     bge        +0x12 /* 0000061E */
  576. 0000060E  206D E604                movea.l    A0, [A5 - 0x19FC]
  577. 00000612  2050                     movea.l    A0, [A0]
  578. 00000614  700A                     moveq.l    D0, 0x0A
  579. 00000616  C1E8 0018                muls.w     D0, [A0 + 0x18]
  580. 0000061A  D047                     add.w      D0, D7
  581. 0000061C  6004                     bra        +0x6 /* 00000622 */
  582. label0000061E:
  583. 0000061E  302D E5DC                move.w     D0, [A5 - 0x1A24]
  584. label00000622:
  585. 00000622  3E00                     move.w     D7, D0
  586. 00000624  2F0C                     move.l     -[A7], A4
  587. 00000626  3F07                     move.w     -[A7], D7
  588. 00000628  A963                     syscall    SetControlValue/SetCtlValue
  589. label0000062A:
  590. 0000062A  4267                     clr.w      -[A7]
  591. 0000062C  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  592. 00000630  A960                     syscall    GetControlValue/GetCtlValue
  593. 00000632  3C2D E5D8                move.w     D6, [A5 - 0x1A28]
  594. 00000636  9C5F                     sub.w      D6, [A7]+
  595. 00000638  4267                     clr.w      -[A7]
  596. 0000063A  3F06                     move.w     -[A7], D6
  597. 0000063C  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  598. 00000640  A9DD                     syscall    TEScroll
  599. 00000642  9D6D E5D8                sub.w      [A5 - 0x1A28], D6
  600. 00000646  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  601. 0000064A  4E5E                     unlink     A6
  602. 0000064C  205F                     movea.l    A0, [A7]+
  603. 0000064E  5C8F                     addq.l     A7, 6
  604. 00000650  4ED0                     jmp        [A0]
  605. export_11:
  606. 00000652  4E56 FFE6                link       A6, -0x001A
  607. 00000656  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  608. 0000065A  286E 0010                movea.l    A4, [A6 + 0x10]
  609. 0000065E  266E 000C                movea.l    A3, [A6 + 0xC]
  610. 00000662  3013                     move.w     D0, [A3]
  611. 00000664  6700 02B0                beq        +0x2B2 /* 00000916 */
  612. 00000668  6B00 02AC                bmi        +0x2AE /* 00000916 */
  613. 0000066C  5740                     subq.w     D0, 3
  614. 0000066E  677C                     beq        +0x7E /* 000006EC */
  615. 00000670  6A0A                     bpl        +0xC /* 0000067C */
  616. 00000672  5240                     addq.w     D0, 1
  617. 00000674  6A00 02A0                bpl        +0x2A2 /* 00000916 */
  618. 00000678  6000 00A0                bra        +0xA2 /* 0000071A */
  619. label0000067C:
  620. 0000067C  5740                     subq.w     D0, 3
  621. 0000067E  6704                     beq        +0x6 /* 00000684 */
  622. 00000680  6000 0294                bra        +0x296 /* 00000916 */
  623. label00000684:
  624. 00000684  B9EB 0002                cmpa.l     A4, [A3 + 0x2]
  625. 00000688  6652                     bne        +0x54 /* 000006DC */
  626. 0000068A  3F3C 0001                move.w     -[A7], 0x1
  627. 0000068E  2F0C                     move.l     -[A7], A4
  628. 00000690  4EBA 061C                jsr        [PC + 0x61C /* 00000CAE */]
  629. 00000694  486D E5C4                pea.l      [A5 - 0x1A3C]
  630. 00000698  A8A1                     syscall    FrameRect
  631. 0000069A  486D E5BC                pea.l      [A5 - 0x1A44]
  632. 0000069E  A8A1                     syscall    FrameRect
  633. 000006A0  486D E5CC                pea.l      [A5 - 0x1A34]
  634. 000006A4  A8A3                     syscall    EraseRect
  635. 000006A6  486D E5CC                pea.l      [A5 - 0x1A34]
  636. 000006AA  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  637. 000006AE  A9D3                     syscall    TEUpdate
  638. 000006B0  3EBC 0003                move.w     [A7], 0x3
  639. 000006B4  A887                     syscall    TextFont
  640. 000006B6  3EBC 0009                move.w     [A7], 0x9 /* '\t' */
  641. 000006BA  A88A                     syscall    TextSize
  642. 000006BC  2F2C 0018                move.l     -[A7], [A4 + 0x18]
  643. 000006C0  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  644. 000006C4  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  645. 000006C8  A9E7                     syscall    Pack0/ListManager
  646. 000006CA  4257                     clr.w      [A7]
  647. 000006CC  A887                     syscall    TextFont
  648. 000006CE  3F3C 000C                move.w     -[A7], 0xC
  649. 000006D2  A88A                     syscall    TextSize
  650. 000006D4  422E 0014                clr.b      [A6 + 0x14]
  651. 000006D8  6000 0240                bra        +0x242 /* 0000091A */
  652. label000006DC:
  653. 000006DC  2F0B                     move.l     -[A7], A3
  654. 000006DE  4EBA 0C56                jsr        [PC + 0xC56 /* 00001336 */]
  655. 000006E2  588F                     addq.l     A7, 4
  656. 000006E4  422E 0014                clr.b      [A6 + 0x14]
  657. 000006E8  6000 0230                bra        +0x232 /* 0000091A */
  658. label000006EC:
  659. 000006EC  7EFF                     moveq.l    D7, 0xFFFFFFFF
  660. 000006EE  CE2B 0005                and.b      D7, [A3 + 0x5]
  661. 000006F2  0C07 000D                cmpi.b     D7, 0xD /* '\r' */
  662. 000006F6  6612                     bne        +0x14 /* 0000070A */
  663. 000006F8  206E 0008                movea.l    A0, [A6 + 0x8]
  664. 000006FC  30BC 0001                move.w     [A0], 0x1
  665. 00000700  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  666. 00000706  6000 0212                bra        +0x214 /* 0000091A */
  667. label0000070A:
  668. 0000070A  206E 0008                movea.l    A0, [A6 + 0x8]
  669. 0000070E  30BC 0064                move.w     [A0], 0x64 /* 'd' */
  670. 00000712  422E 0014                clr.b      [A6 + 0x14]
  671. 00000716  6000 0202                bra        +0x204 /* 0000091A */
  672. label0000071A:
  673. 0000071A  2D6B 000A FFFC           move.l     [A6 - 0x4], [A3 + 0xA]
  674. 00000720  486E FFFC                pea.l      [A6 - 0x4]
  675. 00000724  A871                     syscall    GlobalToLocal
  676. 00000726  4267                     clr.w      -[A7]
  677. 00000728  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  678. 0000072C  2F0C                     move.l     -[A7], A4
  679. 0000072E  486E FFE6                pea.l      [A6 - 0x1A]
  680. 00000732  A96C                     syscall    FindControl
  681. 00000734  3C1F                     move.w     D6, [A7]+
  682. 00000736  4A46                     tst.w      D6
  683. 00000738  6F00 00AA                ble        +0xAC /* 000007E4 */
  684. 0000073C  202E FFE6                move.l     D0, [A6 - 0x1A]
  685. 00000740  B0AD E600                cmp.l      D0, [A5 - 0x1A00]
  686. 00000744  6652                     bne        +0x54 /* 00000798 */
  687. 00000746  0C46 0081                cmpi.w     D6, 0x81
  688. 0000074A  6630                     bne        +0x32 /* 0000077C */
  689. 0000074C  4267                     clr.w      -[A7]
  690. 0000074E  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  691. 00000752  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  692. 00000756  42A7                     clr.l      -[A7]
  693. 00000758  A968                     syscall    TrackControl
  694. 0000075A  4A5F                     tst.w      [A7]+
  695. 0000075C  6730                     beq        +0x32 /* 0000078E */
  696. 0000075E  4267                     clr.w      -[A7]
  697. 00000760  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  698. 00000764  A960                     syscall    GetControlValue/GetCtlValue
  699. 00000766  3A2D E5D8                move.w     D5, [A5 - 0x1A28]
  700. 0000076A  9A5F                     sub.w      D5, [A7]+
  701. 0000076C  4267                     clr.w      -[A7]
  702. 0000076E  3F05                     move.w     -[A7], D5
  703. 00000770  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  704. 00000774  A9DD                     syscall    TEScroll
  705. 00000776  9B6D E5D8                sub.w      [A5 - 0x1A28], D5
  706. 0000077A  6012                     bra        +0x14 /* 0000078E */
  707. label0000077C:
  708. 0000077C  4267                     clr.w      -[A7]
  709. 0000077E  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  710. 00000782  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  711. 00000786  486D 0072                pea.l      [A5 + 0x72 /* export_10 */]
  712. 0000078A  A968                     syscall    TrackControl
  713. 0000078C  548F                     addq.l     A7, 2
  714. label0000078E:
  715. 0000078E  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  716. 00000794  6000 0184                bra        +0x186 /* 0000091A */
  717. label00000798:
  718. 00000798  206D E5D4                movea.l    A0, [A5 - 0x1A2C]
  719. 0000079C  2050                     movea.l    A0, [A0]
  720. 0000079E  202E FFE6                move.l     D0, [A6 - 0x1A]
  721. 000007A2  B0A8 001C                cmp.l      D0, [A0 + 0x1C]
  722. 000007A6  6634                     bne        +0x36 /* 000007DC */
  723. 000007A8  3F3C 0003                move.w     -[A7], 0x3
  724. 000007AC  A887                     syscall    TextFont
  725. 000007AE  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  726. 000007B2  A88A                     syscall    TextSize
  727. 000007B4  4227                     clr.b      -[A7]
  728. 000007B6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  729. 000007BA  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  730. 000007BE  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  731. 000007C2  3F3C 0018                move.w     -[A7], 0x18
  732. 000007C6  A9E7                     syscall    Pack0/ListManager
  733. 000007C8  4257                     clr.w      [A7]
  734. 000007CA  A887                     syscall    TextFont
  735. 000007CC  3F3C 000C                move.w     -[A7], 0xC
  736. 000007D0  A88A                     syscall    TextSize
  737. 000007D2  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  738. 000007D8  6000 0140                bra        +0x142 /* 0000091A */
  739. label000007DC:
  740. 000007DC  422E 0014                clr.b      [A6 + 0x14]
  741. 000007E0  6000 0138                bra        +0x13A /* 0000091A */
  742. label000007E4:
  743. 000007E4  4227                     clr.b      -[A7]
  744. 000007E6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  745. 000007EA  206D E5D4                movea.l    A0, [A5 - 0x1A2C]
  746. 000007EE  2F10                     move.l     -[A7], [A0]
  747. 000007F0  A8AD                     syscall    PtInRect
  748. 000007F2  4A1F                     tst.b      [A7]+
  749. 000007F4  6700 011A                beq        +0x11C /* 00000910 */
  750. 000007F8  4227                     clr.b      -[A7]
  751. 000007FA  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  752. 000007FE  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  753. 00000802  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  754. 00000806  3F3C 0018                move.w     -[A7], 0x18
  755. 0000080A  A9E7                     syscall    Pack0/ListManager
  756. 0000080C  42AE FFEA                clr.l      [A6 - 0x16]
  757. 00000810  4217                     clr.b      [A7]
  758. 00000812  1F3C 0001                move.b     -[A7], 0x1
  759. 00000816  486E FFEA                pea.l      [A6 - 0x16]
  760. 0000081A  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  761. 0000081E  3F3C 003C                move.w     -[A7], 0x3C /* '<' */
  762. 00000822  A9E7                     syscall    Pack0/ListManager
  763. 00000824  4A1F                     tst.b      [A7]+
  764. 00000826  670A                     beq        +0xC /* 00000832 */
  765. 00000828  4267                     clr.w      -[A7]
  766. 0000082A  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  767. 0000082E  A86A                     syscall    HiWord
  768. 00000830  381F                     move.w     D4, [A7]+
  769. label00000832:
  770. 00000832  4A44                     tst.w      D4
  771. 00000834  6D00 00D2                blt        +0xD4 /* 00000908 */
  772. 00000838  B86D E5E0                cmp.w      D4, [A5 - 0x1A20]
  773. 0000083C  6700 00CA                beq        +0xCC /* 00000908 */
  774. 00000840  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  775. 00000844  A9D9                     syscall    TEDeactivate
  776. 00000846  42A7                     clr.l      -[A7]
  777. 00000848  4878 7FFF                push.l     0x7FFF
  778. 0000084C  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  779. 00000850  A9D1                     syscall    TESetSelect
  780. 00000852  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  781. 00000856  A9D7                     syscall    TEDelete
  782. 00000858  B86D E5DE                cmp.w      D4, [A5 - 0x1A22]
  783. 0000085C  6C20                     bge        +0x22 /* 0000087E */
  784. 0000085E  42A7                     clr.l      -[A7]
  785. 00000860  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  786. 00000866  204D                     movea.l    A0, A5
  787. 00000868  D0C4                     add.w      A0, D4
  788. 0000086A  D0C4                     add.w      A0, D4
  789. 0000086C  3F28 E5E2                move.w     -[A7], [A0 - 0x1A1E]
  790. 00000870  A9A0                     syscall    GetResource
  791. 00000872  245F                     movea.l    A2, [A7]+
  792. 00000874  42A7                     clr.l      -[A7]
  793. 00000876  2F0A                     move.l     -[A7], A2
  794. 00000878  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  795. 0000087A  261F                     move.l     D3, [A7]+
  796. 0000087C  6002                     bra        +0x4 /* 00000880 */
  797. label0000087E:
  798. 0000087E  7600                     moveq.l    D3, 0x00
  799. label00000880:
  800. 00000880  4A43                     tst.w      D3
  801. 00000882  6F14                     ble        +0x16 /* 00000898 */
  802. 00000884  204A                     movea.l    A0, A2
  803. 00000886  A029                     syscall    HLock
  804. 00000888  2F12                     move.l     -[A7], [A2]
  805. 0000088A  3043                     movea.w    A0, D3
  806. 0000088C  2F08                     move.l     -[A7], A0
  807. 0000088E  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  808. 00000892  A9DE                     syscall    TEInsert
  809. 00000894  204A                     movea.l    A0, A2
  810. 00000896  A02A                     syscall    HUnlock
  811. label00000898:
  812. 00000898  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  813. 0000089C  4267                     clr.w      -[A7]
  814. 0000089E  A963                     syscall    SetControlValue/SetCtlValue
  815. 000008A0  4267                     clr.w      -[A7]
  816. 000008A2  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  817. 000008A6  A960                     syscall    GetControlValue/GetCtlValue
  818. 000008A8  3A2D E5D8                move.w     D5, [A5 - 0x1A28]
  819. 000008AC  9A5F                     sub.w      D5, [A7]+
  820. 000008AE  4267                     clr.w      -[A7]
  821. 000008B0  3F05                     move.w     -[A7], D5
  822. 000008B2  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  823. 000008B6  A9DD                     syscall    TEScroll
  824. 000008B8  9B6D E5D8                sub.w      [A5 - 0x1A28], D5
  825. 000008BC  206D E604                movea.l    A0, [A5 - 0x19FC]
  826. 000008C0  2050                     movea.l    A0, [A0]
  827. 000008C2  3028 005E                move.w     D0, [A0 + 0x5E]
  828. 000008C6  B06D E5DA                cmp.w      D0, [A5 - 0x1A26]
  829. 000008CA  6F2E                     ble        +0x30 /* 000008FA */
  830. 000008CC  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  831. 000008D0  4267                     clr.w      -[A7]
  832. 000008D2  A95D                     syscall    HiliteControl
  833. 000008D4  206D E604                movea.l    A0, [A5 - 0x19FC]
  834. 000008D8  2050                     movea.l    A0, [A0]
  835. 000008DA  3028 005E                move.w     D0, [A0 + 0x5E]
  836. 000008DE  906D E5DA                sub.w      D0, [A5 - 0x1A26]
  837. 000008E2  206D E604                movea.l    A0, [A5 - 0x19FC]
  838. 000008E6  2050                     movea.l    A0, [A0]
  839. 000008E8  C1E8 0018                muls.w     D0, [A0 + 0x18]
  840. 000008EC  3B40 E5DC                move.w     [A5 - 0x1A24], D0
  841. 000008F0  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  842. 000008F4  3F00                     move.w     -[A7], D0
  843. 000008F6  A965                     syscall    SetControlMaximum/SetMaxCtl
  844. 000008F8  600A                     bra        +0xC /* 00000904 */
  845. label000008FA:
  846. 000008FA  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  847. 000008FE  3F3C 00FF                move.w     -[A7], 0xFF
  848. 00000902  A95D                     syscall    HiliteControl
  849. label00000904:
  850. 00000904  3B44 E5E0                move.w     [A5 - 0x1A20], D4
  851. label00000908:
  852. 00000908  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  853. 0000090E  600A                     bra        +0xC /* 0000091A */
  854. label00000910:
  855. 00000910  422E 0014                clr.b      [A6 + 0x14]
  856. 00000914  6004                     bra        +0x6 /* 0000091A */
  857. label00000916:
  858. 00000916  422E 0014                clr.b      [A6 + 0x14]
  859. label0000091A:
  860. 0000091A  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  861. 0000091E  4E5E                     unlink     A6
  862. 00000920  205F                     movea.l    A0, [A7]+
  863. 00000922  4FEF 000C                lea.l      A7, [A7 + 0xC]
  864. 00000926  4ED0                     jmp        [A0]
  865. fn00000928:
  866. 00000928  4E56 FFDA                link       A6, -0x0026
  867. 0000092C  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  868. 00000930  3E3C 1388                move.w     D7, 0x1388
  869. 00000934  7A01                     moveq.l    D5, 0x01
  870. 00000936  A850                     syscall    InitCursor
  871. 00000938  486E FFEA                pea.l      [A6 - 0x16]
  872. 0000093C  A874                     syscall    GetPort
  873. 0000093E  42A7                     clr.l      -[A7]
  874. 00000940  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  875. 00000946  3F07                     move.w     -[A7], D7
  876. 00000948  A9A0                     syscall    GetResource
  877. 0000094A  285F                     movea.l    A4, [A7]+
  878. 0000094C  2F0C                     move.l     -[A7], A4
  879. 0000094E  A9A2                     syscall    LoadResource
  880. 00000950  204C                     movea.l    A0, A4
  881. 00000952  A04A                     syscall    HNoPurge
  882. 00000954  264C                     movea.l    A3, A4
  883. 00000956  2C13                     move.l     D6, [A3]
  884. 00000958  486D F960                pea.l      [A5 - 0x6A0]
  885. 0000095C  2F06                     move.l     -[A7], D6
  886. 0000095E  4EBA 2DA2                jsr        [PC + 0x2DA2 /* 00003702 */]
  887. 00000962  4297                     clr.l      [A7]
  888. 00000964  3F07                     move.w     -[A7], D7
  889. 00000966  42A7                     clr.l      -[A7]
  890. 00000968  4878 FFFF                push.l     0xFFFF
  891. 0000096C  A97C                     syscall    GetNewDialog
  892. 0000096E  245F                     movea.l    A2, [A7]+
  893. 00000970  2E8A                     move.l     [A7], A2
  894. 00000972  A915                     syscall    ShowWindow
  895. 00000974  2F0A                     move.l     -[A7], A2
  896. 00000976  A91F                     syscall    SelectWindow
  897. 00000978  2F0A                     move.l     -[A7], A2
  898. 0000097A  A873                     syscall    SetPort
  899. 0000097C  42A7                     clr.l      -[A7]
  900. 0000097E  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  901. 00000984  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  902. 00000988  A9A0                     syscall    GetResource
  903. 0000098A  281F                     move.l     D4, [A7]+
  904. 0000098C  2044                     movea.l    A0, D4
  905. 0000098E  2050                     movea.l    A0, [A0]
  906. 00000990  3B50 E5DE                move.w     [A5 - 0x1A22], [A0]
  907. 00000994  2F0A                     move.l     -[A7], A2
  908. 00000996  3F3C 0003                move.w     -[A7], 0x3
  909. 0000099A  486E FFFE                pea.l      [A6 - 0x2]
  910. 0000099E  486E FFF6                pea.l      [A6 - 0xA]
  911. 000009A2  486D E5C4                pea.l      [A5 - 0x1A3C]
  912. 000009A6  A98D                     syscall    GetDialogItem/GetDItem
  913. 000009A8  046D 000F E5CA           subi.w     [A5 - 0x1A36], 0xF
  914. 000009AE  486E FFDA                pea.l      [A6 - 0x26]
  915. 000009B2  42A7                     clr.l      -[A7]
  916. 000009B4  3F3C 0001                move.w     -[A7], 0x1
  917. 000009B8  3F2D E5DE                move.w     -[A7], [A5 - 0x1A22]
  918. 000009BC  A8A7                     syscall    SetRect
  919. 000009BE  486E FFE2                pea.l      [A6 - 0x1E]
  920. 000009C2  302D E5CA                move.w     D0, [A5 - 0x1A36]
  921. 000009C6  906D E5C6                sub.w      D0, [A5 - 0x1A3A]
  922. 000009CA  3F00                     move.w     -[A7], D0
  923. 000009CC  3F3C 0010                move.w     -[A7], 0x10
  924. 000009D0  A880                     syscall    SetPt
  925. 000009D2  42A7                     clr.l      -[A7]
  926. 000009D4  486D E5C4                pea.l      [A5 - 0x1A3C]
  927. 000009D8  486E FFDA                pea.l      [A6 - 0x26]
  928. 000009DC  2F2E FFE2                move.l     -[A7], [A6 - 0x1E]
  929. 000009E0  4267                     clr.w      -[A7]
  930. 000009E2  2F0A                     move.l     -[A7], A2
  931. 000009E4  42A7                     clr.l      -[A7]
  932. 000009E6  2F3C 0100 0000           move.l     -[A7], 0x1000000
  933. 000009EC  3F3C 0044                move.w     -[A7], 0x44 /* 'D' */
  934. 000009F0  A9E7                     syscall    Pack0/ListManager
  935. 000009F2  2B5F E5D4                move.l     [A5 - 0x1A2C], [A7]+
  936. 000009F6  206D E5D4                movea.l    A0, [A5 - 0x1A2C]
  937. 000009FA  2050                     movea.l    A0, [A0]
  938. 000009FC  117C 0080 0024           move.b     [A0 + 0x24], 0x80
  939. 00000A02  486D E5C4                pea.l      [A5 - 0x1A3C]
  940. 00000A06  4878 FFFF                push.l     0xFFFF
  941. 00000A0A  A8A9                     syscall    InsetRect
  942. 00000A0C  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  943. 00000A10  486D E5E2                pea.l      [A5 - 0x1A1E]
  944. 00000A14  3F2D E5DE                move.w     -[A7], [A5 - 0x1A22]
  945. 00000A18  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  946. 00000A1C  4EBA 0048                jsr        [PC + 0x48 /* 00000A66 */]
  947. 00000A20  486D E5E2                pea.l      [A5 - 0x1A1E]
  948. 00000A24  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  949. 00000A28  2F0A                     move.l     -[A7], A2
  950. 00000A2A  4EBA 00E0                jsr        [PC + 0xE0 /* 00000B0C */]
  951. 00000A2E  4A40                     tst.w      D0
  952. 00000A30  4FEF 0018                lea.l      A7, [A7 + 0x18]
  953. 00000A34  6606                     bne        +0x8 /* 00000A3C */
  954. 00000A36  3F3C 0002                move.w     -[A7], 0x2
  955. 00000A3A  A9C8                     syscall    SysBeep
  956. label00000A3C:
  957. 00000A3C  2F0C                     move.l     -[A7], A4
  958. 00000A3E  A9A3                     syscall    ReleaseResource
  959. 00000A40  2F0A                     move.l     -[A7], A2
  960. 00000A42  A916                     syscall    HideWindow
  961. 00000A44  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  962. 00000A48  A9CD                     syscall    TEDispose
  963. 00000A4A  2F2D E5D4                move.l     -[A7], [A5 - 0x1A2C]
  964. 00000A4E  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  965. 00000A52  A9E7                     syscall    Pack0/ListManager
  966. 00000A54  2F0A                     move.l     -[A7], A2
  967. 00000A56  A983                     syscall    DisposeDialog
  968. 00000A58  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  969. 00000A5C  A873                     syscall    SetPort
  970. 00000A5E  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  971. 00000A62  4E5E                     unlink     A6
  972. 00000A64  4E75                     rts
  973. fn00000A66:
  974. 00000A66  4E56 FEFC                link       A6, -0x0104
  975. 00000A6A  48E7 0118                movem.l    -[A7], D7,A3,A4
  976. 00000A6E  286E 0008                movea.l    A4, [A6 + 0x8]
  977. 00000A72  7E00                     moveq.l    D7, 0x00
  978. 00000A74  6064                     bra        +0x66 /* 00000ADA */
  979. label00000A76:
  980. 00000A76  486E FF00                pea.l      [A6 - 0x100]
  981. 00000A7A  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  982. 00000A7E  7001                     moveq.l    D0, 0x01
  983. 00000A80  D047                     add.w      D0, D7
  984. 00000A82  3F00                     move.w     -[A7], D0
  985. 00000A84  4EBA 3704                jsr        [PC + 0x3704 /* 0000418A */]
  986. 00000A88  486E FF00                pea.l      [A6 - 0x100]
  987. 00000A8C  4EBA 31BC                jsr        [PC + 0x31BC /* 00003C4A */]
  988. 00000A90  3EBC 005C                move.w     [A7], 0x5C /* '\\' */
  989. 00000A94  486E FF00                pea.l      [A6 - 0x100]
  990. 00000A98  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  991. 00000A9C  2640                     movea.l    A3, D0
  992. 00000A9E  421B                     clr.b      [A3]+
  993. 00000AA0  2E8B                     move.l     [A7], A3
  994. 00000AA2  4EAD 00FA                jsr        [A5 + 0xFA /* export_27 */]
  995. 00000AA6  206E 000E                movea.l    A0, [A6 + 0xE]
  996. 00000AAA  D0C7                     add.w      A0, D7
  997. 00000AAC  3180 7000                move.w     [A0 + D7.w], D0
  998. 00000AB0  486E FEFC                pea.l      [A6 - 0x104]
  999. 00000AB4  4267                     clr.w      -[A7]
  1000. 00000AB6  3F07                     move.w     -[A7], D7
  1001. 00000AB8  A880                     syscall    SetPt
  1002. 00000ABA  486E FF00                pea.l      [A6 - 0x100]
  1003. 00000ABE  486E FF00                pea.l      [A6 - 0x100]
  1004. 00000AC2  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  1005. 00000AC6  548F                     addq.l     A7, 2
  1006. 00000AC8  3E80                     move.w     [A7], D0
  1007. 00000ACA  2F2E FEFC                move.l     -[A7], [A6 - 0x104]
  1008. 00000ACE  2F0C                     move.l     -[A7], A4
  1009. 00000AD0  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  1010. 00000AD4  A9E7                     syscall    Pack0/ListManager
  1011. 00000AD6  508F                     addq.l     A7, 8
  1012. 00000AD8  5247                     addq.w     D7, 1
  1013. label00000ADA:
  1014. 00000ADA  BE6E 000C                cmp.w      D7, [A6 + 0xC]
  1015. 00000ADE  6D96                     blt        -0x68 /* 00000A76 */
  1016. 00000AE0  486E FEFC                pea.l      [A6 - 0x104]
  1017. 00000AE4  42A7                     clr.l      -[A7]
  1018. 00000AE6  A880                     syscall    SetPt
  1019. 00000AE8  1F3C 0001                move.b     -[A7], 0x1
  1020. 00000AEC  2F2E FEFC                move.l     -[A7], [A6 - 0x104]
  1021. 00000AF0  2F0C                     move.l     -[A7], A4
  1022. 00000AF2  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  1023. 00000AF6  A9E7                     syscall    Pack0/ListManager
  1024. 00000AF8  1F3C 0001                move.b     -[A7], 0x1
  1025. 00000AFC  2F0C                     move.l     -[A7], A4
  1026. 00000AFE  3F3C 002C                move.w     -[A7], 0x2C /* ',' */
  1027. 00000B02  A9E7                     syscall    Pack0/ListManager
  1028. 00000B04  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1029. 00000B08  4E5E                     unlink     A6
  1030. 00000B0A  4E75                     rts
  1031. fn00000B0C:
  1032. 00000B0C  4E56 FFE2                link       A6, -0x001E
  1033. 00000B10  48E7 0308                movem.l    -[A7], D6,D7,A4
  1034. 00000B14  7E00                     moveq.l    D7, 0x00
  1035. 00000B16  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1036. 00000B1A  3F3C 0002                move.w     -[A7], 0x2
  1037. 00000B1E  486E FFF8                pea.l      [A6 - 0x8]
  1038. 00000B22  486E FFF4                pea.l      [A6 - 0xC]
  1039. 00000B26  486D E5BC                pea.l      [A5 - 0x1A44]
  1040. 00000B2A  A98D                     syscall    GetDialogItem/GetDItem
  1041. 00000B2C  046D 0010 E5C2           subi.w     [A5 - 0x1A3E], 0x10
  1042. 00000B32  700F                     moveq.l    D0, 0x0F
  1043. 00000B34  D06D E5C2                add.w      D0, [A5 - 0x1A3E]
  1044. 00000B38  3D40 FFF0                move.w     [A6 - 0x10], D0
  1045. 00000B3C  70FF                     moveq.l    D0, 0xFFFFFFFF
  1046. 00000B3E  D06D E5C2                add.w      D0, [A5 - 0x1A3E]
  1047. 00000B42  3D40 FFEC                move.w     [A6 - 0x14], D0
  1048. 00000B46  3D6D E5BC FFEA           move.w     [A6 - 0x16], [A5 - 0x1A44]
  1049. 00000B4C  3D6D E5C0 FFEE           move.w     [A6 - 0x12], [A5 - 0x1A40]
  1050. 00000B52  42A7                     clr.l      -[A7]
  1051. 00000B54  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1052. 00000B58  486E FFEA                pea.l      [A6 - 0x16]
  1053. 00000B5C  486D E608                pea.l      [A5 - 0x19F8]
  1054. 00000B60  4878 0100                push.l     0x100
  1055. 00000B64  42A7                     clr.l      -[A7]
  1056. 00000B66  3F3C 0010                move.w     -[A7], 0x10
  1057. 00000B6A  42A7                     clr.l      -[A7]
  1058. 00000B6C  A954                     syscall    NewControl
  1059. 00000B6E  2B5F E600                move.l     [A5 - 0x1A00], [A7]+
  1060. 00000B72  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  1061. 00000B76  3F3C 00FF                move.w     -[A7], 0xFF
  1062. 00000B7A  A95D                     syscall    HiliteControl
  1063. 00000B7C  7003                     moveq.l    D0, 0x03
  1064. 00000B7E  D06D E5BC                add.w      D0, [A5 - 0x1A44]
  1065. 00000B82  3D40 FFE2                move.w     [A6 - 0x1E], D0
  1066. 00000B86  7003                     moveq.l    D0, 0x03
  1067. 00000B88  D06D E5BE                add.w      D0, [A5 - 0x1A42]
  1068. 00000B8C  3D40 FFE4                move.w     [A6 - 0x1C], D0
  1069. 00000B90  70FD                     moveq.l    D0, 0xFFFFFFFD
  1070. 00000B92  D06D E5C2                add.w      D0, [A5 - 0x1A3E]
  1071. 00000B96  3D40 FFE8                move.w     [A6 - 0x18], D0
  1072. 00000B9A  3D7C 4E20 FFE6           move.w     [A6 - 0x1A], 0x4E20 /* 'N ' */
  1073. 00000BA0  2B6D E5BC E5CC           move.l     [A5 - 0x1A34], [A5 - 0x1A44]
  1074. 00000BA6  2B6D E5C0 E5D0           move.l     [A5 - 0x1A30], [A5 - 0x1A40]
  1075. 00000BAC  486D E5CC                pea.l      [A5 - 0x1A34]
  1076. 00000BB0  2F3C 0001 0001           move.l     -[A7], 0x10001
  1077. 00000BB6  A8A9                     syscall    InsetRect
  1078. 00000BB8  42A7                     clr.l      -[A7]
  1079. 00000BBA  486E FFE2                pea.l      [A6 - 0x1E]
  1080. 00000BBE  486D E5CC                pea.l      [A5 - 0x1A34]
  1081. 00000BC2  A9D2                     syscall    TENew
  1082. 00000BC4  2B5F E604                move.l     [A5 - 0x19FC], [A7]+
  1083. 00000BC8  206D E604                movea.l    A0, [A5 - 0x19FC]
  1084. 00000BCC  2050                     movea.l    A0, [A0]
  1085. 00000BCE  317C 0003 004A           move.w     [A0 + 0x4A], 0x3
  1086. 00000BD4  206D E604                movea.l    A0, [A5 - 0x19FC]
  1087. 00000BD8  2050                     movea.l    A0, [A0]
  1088. 00000BDA  317C 000A 0050           move.w     [A0 + 0x50], 0xA /* '\n' */
  1089. 00000BE0  426D E5E0                clr.w      [A5 - 0x1A20]
  1090. 00000BE4  426D E5D8                clr.w      [A5 - 0x1A28]
  1091. 00000BE8  206D E604                movea.l    A0, [A5 - 0x19FC]
  1092. 00000BEC  2050                     movea.l    A0, [A0]
  1093. 00000BEE  302D E5D0                move.w     D0, [A5 - 0x1A30]
  1094. 00000BF2  906D E5CC                sub.w      D0, [A5 - 0x1A34]
  1095. 00000BF6  48C0                     ext.l      D0
  1096. 00000BF8  81E8 0018                divs.w     D0, [A0 + 0x18]
  1097. 00000BFC  3B40 E5DA                move.w     [A5 - 0x1A26], D0
  1098. 00000C00  42A7                     clr.l      -[A7]
  1099. 00000C02  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  1100. 00000C08  206E 0010                movea.l    A0, [A6 + 0x10]
  1101. 00000C0C  3F10                     move.w     -[A7], [A0]
  1102. 00000C0E  A9A0                     syscall    GetResource
  1103. 00000C10  285F                     movea.l    A4, [A7]+
  1104. 00000C12  200C                     move.l     D0, A4
  1105. 00000C14  6606                     bne        +0x8 /* 00000C1C */
  1106. 00000C16  3F3C 0002                move.w     -[A7], 0x2
  1107. 00000C1A  A9C8                     syscall    SysBeep
  1108. label00000C1C:
  1109. 00000C1C  42A7                     clr.l      -[A7]
  1110. 00000C1E  2F0C                     move.l     -[A7], A4
  1111. 00000C20  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  1112. 00000C22  2C1F                     move.l     D6, [A7]+
  1113. 00000C24  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  1114. 00000C28  A9D9                     syscall    TEDeactivate
  1115. 00000C2A  4878 7FFF                push.l     0x7FFF
  1116. 00000C2E  4878 7FFF                push.l     0x7FFF
  1117. 00000C32  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  1118. 00000C36  A9D1                     syscall    TESetSelect
  1119. 00000C38  204C                     movea.l    A0, A4
  1120. 00000C3A  A029                     syscall    HLock
  1121. 00000C3C  2F14                     move.l     -[A7], [A4]
  1122. 00000C3E  3046                     movea.w    A0, D6
  1123. 00000C40  2F08                     move.l     -[A7], A0
  1124. 00000C42  2F2D E604                move.l     -[A7], [A5 - 0x19FC]
  1125. 00000C46  A9DE                     syscall    TEInsert
  1126. 00000C48  204C                     movea.l    A0, A4
  1127. 00000C4A  A02A                     syscall    HUnlock
  1128. 00000C4C  206D E604                movea.l    A0, [A5 - 0x19FC]
  1129. 00000C50  2050                     movea.l    A0, [A0]
  1130. 00000C52  3028 005E                move.w     D0, [A0 + 0x5E]
  1131. 00000C56  B06D E5DA                cmp.w      D0, [A5 - 0x1A26]
  1132. 00000C5A  6F46                     ble        +0x48 /* 00000CA2 */
  1133. 00000C5C  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  1134. 00000C60  4267                     clr.w      -[A7]
  1135. 00000C62  A95D                     syscall    HiliteControl
  1136. 00000C64  206D E604                movea.l    A0, [A5 - 0x19FC]
  1137. 00000C68  2050                     movea.l    A0, [A0]
  1138. 00000C6A  3028 005E                move.w     D0, [A0 + 0x5E]
  1139. 00000C6E  906D E5DA                sub.w      D0, [A5 - 0x1A26]
  1140. 00000C72  206D E604                movea.l    A0, [A5 - 0x19FC]
  1141. 00000C76  2050                     movea.l    A0, [A0]
  1142. 00000C78  C1E8 0018                muls.w     D0, [A0 + 0x18]
  1143. 00000C7C  3B40 E5DC                move.w     [A5 - 0x1A24], D0
  1144. 00000C80  2F2D E600                move.l     -[A7], [A5 - 0x1A00]
  1145. 00000C84  3F00                     move.w     -[A7], D0
  1146. 00000C86  A965                     syscall    SetControlMaximum/SetMaxCtl
  1147. 00000C88  6018                     bra        +0x1A /* 00000CA2 */
  1148. label00000C8A:
  1149. 00000C8A  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  1150. 00000C8E  486E FFFA                pea.l      [A6 - 0x6]
  1151. 00000C92  A991                     syscall    ModalDialog
  1152. 00000C94  302E FFFA                move.w     D0, [A6 - 0x6]
  1153. 00000C98  6708                     beq        +0xA /* 00000CA2 */
  1154. 00000C9A  6B06                     bmi        +0x8 /* 00000CA2 */
  1155. 00000C9C  5540                     subq.w     D0, 2
  1156. 00000C9E  6A02                     bpl        +0x4 /* 00000CA2 */
  1157. 00000CA0  7E01                     moveq.l    D7, 0x01
  1158. label00000CA2:
  1159. 00000CA2  4A07                     tst.b      D7
  1160. 00000CA4  67E4                     beq        -0x1A /* 00000C8A */
  1161. 00000CA6  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  1162. 00000CAA  4E5E                     unlink     A6
  1163. 00000CAC  4E75                     rts
  1164. fn00000CAE:
  1165. 00000CAE  4E56 FFEE                link       A6, -0x0012
  1166. 00000CB2  486E FFFC                pea.l      [A6 - 0x4]
  1167. 00000CB6  A874                     syscall    GetPort
  1168. 00000CB8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1169. 00000CBC  A873                     syscall    SetPort
  1170. 00000CBE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1171. 00000CC2  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  1172. 00000CC6  486E FFF6                pea.l      [A6 - 0xA]
  1173. 00000CCA  486E FFF8                pea.l      [A6 - 0x8]
  1174. 00000CCE  486E FFEE                pea.l      [A6 - 0x12]
  1175. 00000CD2  A98D                     syscall    GetDialogItem/GetDItem
  1176. 00000CD4  486E FFEE                pea.l      [A6 - 0x12]
  1177. 00000CD8  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  1178. 00000CDE  A8A9                     syscall    InsetRect
  1179. 00000CE0  2F3C 0003 0003           move.l     -[A7], 0x30003
  1180. 00000CE6  A89B                     syscall    PenSize
  1181. 00000CE8  486E FFEE                pea.l      [A6 - 0x12]
  1182. 00000CEC  2F3C 0010 0010           move.l     -[A7], 0x100010
  1183. 00000CF2  A8B0                     syscall    FrameRoundRect
  1184. 00000CF4  A89E                     syscall    PenNormal
  1185. 00000CF6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1186. 00000CFA  A873                     syscall    SetPort
  1187. 00000CFC  4E5E                     unlink     A6
  1188. 00000CFE  4E75                     rts
  1189. export_22:
  1190. 00000D00  A9F4                     syscall    ExitToShell
  1191. 00000D02  4E75                     rts
  1192. export_23:
  1193. 00000D04  4E56 FFBE                link       A6, -0x0042
  1194. 00000D08  48E7 1F00                movem.l    -[A7], D3,D4,D5,D6,D7
  1195. 00000D0C  A063                     syscall    MaxApplZone
  1196. 00000D0E  7C00                     moveq.l    D6, 0x00
  1197. 00000D10  6004                     bra        +0x6 /* 00000D16 */
  1198. label00000D12:
  1199. 00000D12  A036                     syscall    MoreMasters
  1200. 00000D14  5246                     addq.w     D6, 1
  1201. label00000D16:
  1202. 00000D16  0C46 000A                cmpi.w     D6, 0xA /* '\n' */
  1203. 00000D1A  6DF6                     blt        -0x8 /* 00000D12 */
  1204. 00000D1C  486D F9D4                pea.l      [A5 - 0x62C]
  1205. 00000D20  A86E                     syscall    InitGraf
  1206. 00000D22  A8FE                     syscall    InitFonts
  1207. 00000D24  A912                     syscall    InitWindows
  1208. 00000D26  A930                     syscall    InitMenus
  1209. 00000D28  A9CC                     syscall    TEInit
  1210. 00000D2A  486D 00D2                pea.l      [A5 + 0xD2 /* export_22 */]
  1211. 00000D2E  A97B                     syscall    InitDialogs
  1212. 00000D30  4EBA 0896                jsr        [PC + 0x896 /* 000015C8 */]
  1213. 00000D34  4A40                     tst.w      D0
  1214. 00000D36  6700 05A8                beq        +0x5AA /* 000012E0 */
  1215. 00000D3A  4EBA 080E                jsr        [PC + 0x80E /* 0000154A */]
  1216. 00000D3E  4EBA 083C                jsr        [PC + 0x83C /* 0000157C */]
  1217. 00000D42  1B40 E847                move.b     [A5 - 0x17B9], D0
  1218. 00000D46  486D F9D4                pea.l      [A5 - 0x62C]
  1219. 00000D4A  A874                     syscall    GetPort
  1220. 00000D4C  4EBA 225C                jsr        [PC + 0x225C /* 00002FAA */]
  1221. 00000D50  486D F968                pea.l      [A5 - 0x698]
  1222. 00000D54  A851                     syscall    SetCursor
  1223. 00000D56  4EBA 0CA6                jsr        [PC + 0xCA6 /* 000019FE */]
  1224. 00000D5A  486E FFC2                pea.l      [A6 - 0x3E]
  1225. 00000D5E  486E FFC4                pea.l      [A6 - 0x3C]
  1226. 00000D62  4EBA 250E                jsr        [PC + 0x250E /* 00003272 */]
  1227. 00000D66  486E FFD6                pea.l      [A6 - 0x2A]
  1228. 00000D6A  7017                     moveq.l    D0, 0x17
  1229. 00000D6C  D06E FFC4                add.w      D0, [A6 - 0x3C]
  1230. 00000D70  3F00                     move.w     -[A7], D0
  1231. 00000D72  7016                     moveq.l    D0, 0x16
  1232. 00000D74  D06E FFC2                add.w      D0, [A6 - 0x3E]
  1233. 00000D78  3F00                     move.w     -[A7], D0
  1234. 00000D7A  302E FFC4                move.w     D0, [A6 - 0x3C]
  1235. 00000D7E  0640 01E8                addi.w     D0, 0x1E8
  1236. 00000D82  3F00                     move.w     -[A7], D0
  1237. 00000D84  302E FFC2                move.w     D0, [A6 - 0x3E]
  1238. 00000D88  0640 014C                addi.w     D0, 0x14C
  1239. 00000D8C  3F00                     move.w     -[A7], D0
  1240. 00000D8E  A8A7                     syscall    SetRect
  1241. 00000D90  4297                     clr.l      [A7]
  1242. 00000D92  486D E7AA                pea.l      [A5 - 0x1856]
  1243. 00000D96  486E FFD6                pea.l      [A6 - 0x2A]
  1244. 00000D9A  486D E852                pea.l      [A5 - 0x17AE]
  1245. 00000D9E  2F3C 0002 0100           move.l     -[A7], 0x20100
  1246. 00000DA4  4878 FFFF                push.l     0xFFFF
  1247. 00000DA8  4227                     clr.b      -[A7]
  1248. 00000DAA  42A7                     clr.l      -[A7]
  1249. 00000DAC  A913                     syscall    NewWindow
  1250. 00000DAE  2B5F E792                move.l     [A5 - 0x186E], [A7]+
  1251. 00000DB2  2EAD E792                move.l     [A7], [A5 - 0x186E]
  1252. 00000DB6  A873                     syscall    SetPort
  1253. 00000DB8  206D E792                movea.l    A0, [A5 - 0x186E]
  1254. 00000DBC  2B68 0010 E692           move.l     [A5 - 0x196E], [A0 + 0x10]
  1255. 00000DC2  2B68 0014 E696           move.l     [A5 - 0x196A], [A0 + 0x14]
  1256. 00000DC8  3B7C 00C6 E696           move.w     [A5 - 0x196A], 0xC6
  1257. 00000DCE  2B68 0010 E69A           move.l     [A5 - 0x1966], [A0 + 0x10]
  1258. 00000DD4  2B68 0014 E69E           move.l     [A5 - 0x1962], [A0 + 0x14]
  1259. 00000DDA  3B6D E696 E69A           move.w     [A5 - 0x1966], [A5 - 0x196A]
  1260. 00000DE0  486D E68A                pea.l      [A5 - 0x1976]
  1261. 00000DE4  42A7                     clr.l      -[A7]
  1262. 00000DE6  2F3C 000C 00C8           move.l     -[A7], 0xC00C8
  1263. 00000DEC  A8A7                     syscall    SetRect
  1264. 00000DEE  486D E68A                pea.l      [A5 - 0x1976]
  1265. 00000DF2  302D E690                move.w     D0, [A5 - 0x1970]
  1266. 00000DF6  906D E68C                sub.w      D0, [A5 - 0x1974]
  1267. 00000DFA  322D E698                move.w     D1, [A5 - 0x1968]
  1268. 00000DFE  926D E694                sub.w      D1, [A5 - 0x196C]
  1269. 00000E02  9240                     sub.w      D1, D0
  1270. 00000E04  48C1                     ext.l      D1
  1271. 00000E06  83FC 0002                divs.w     D1, 0x2
  1272. 00000E0A  3F01                     move.w     -[A7], D1
  1273. 00000E0C  3F3C 00B8                move.w     -[A7], 0xB8
  1274. 00000E10  A8A8                     syscall    OffsetRect
  1275. 00000E12  2D6D E692 FFDE           move.l     [A6 - 0x22], [A5 - 0x196E]
  1276. 00000E18  2D6D E696 FFE2           move.l     [A6 - 0x1E], [A5 - 0x196A]
  1277. 00000E1E  486D E772                pea.l      [A5 - 0x188E]
  1278. 00000E22  42A7                     clr.l      -[A7]
  1279. 00000E24  2F3C 0009 0009           move.l     -[A7], 0x90009 /* '\t\0\t' */
  1280. 00000E2A  A8A7                     syscall    SetRect
  1281. 00000E2C  2B6D E772 E78A           move.l     [A5 - 0x1876], [A5 - 0x188E]
  1282. 00000E32  2B6D E776 E78E           move.l     [A5 - 0x1872], [A5 - 0x188A]
  1283. 00000E38  2B6D E78A E782           move.l     [A5 - 0x187E], [A5 - 0x1876]
  1284. 00000E3E  2B6D E78E E786           move.l     [A5 - 0x187A], [A5 - 0x1872]
  1285. 00000E44  2B6D E782 E77A           move.l     [A5 - 0x1886], [A5 - 0x187E]
  1286. 00000E4A  2B6D E786 E77E           move.l     [A5 - 0x1882], [A5 - 0x187A]
  1287. 00000E50  486D E772                pea.l      [A5 - 0x188E]
  1288. 00000E54  7004                     moveq.l    D0, 0x04
  1289. 00000E56  D06E FFE0                add.w      D0, [A6 - 0x20]
  1290. 00000E5A  3F00                     move.w     -[A7], D0
  1291. 00000E5C  7004                     moveq.l    D0, 0x04
  1292. 00000E5E  D06E FFDE                add.w      D0, [A6 - 0x22]
  1293. 00000E62  3F00                     move.w     -[A7], D0
  1294. 00000E64  A8A8                     syscall    OffsetRect
  1295. 00000E66  486D E77A                pea.l      [A5 - 0x1886]
  1296. 00000E6A  7004                     moveq.l    D0, 0x04
  1297. 00000E6C  D06E FFE0                add.w      D0, [A6 - 0x20]
  1298. 00000E70  3F00                     move.w     -[A7], D0
  1299. 00000E72  70F3                     moveq.l    D0, 0xFFFFFFF3
  1300. 00000E74  D06E FFE2                add.w      D0, [A6 - 0x1E]
  1301. 00000E78  3F00                     move.w     -[A7], D0
  1302. 00000E7A  A8A8                     syscall    OffsetRect
  1303. 00000E7C  486D E782                pea.l      [A5 - 0x187E]
  1304. 00000E80  70F3                     moveq.l    D0, 0xFFFFFFF3
  1305. 00000E82  D06E FFE4                add.w      D0, [A6 - 0x1C]
  1306. 00000E86  3F00                     move.w     -[A7], D0
  1307. 00000E88  7004                     moveq.l    D0, 0x04
  1308. 00000E8A  D06E FFDE                add.w      D0, [A6 - 0x22]
  1309. 00000E8E  3F00                     move.w     -[A7], D0
  1310. 00000E90  A8A8                     syscall    OffsetRect
  1311. 00000E92  486D E78A                pea.l      [A5 - 0x1876]
  1312. 00000E96  70F3                     moveq.l    D0, 0xFFFFFFF3
  1313. 00000E98  D06E FFE4                add.w      D0, [A6 - 0x1C]
  1314. 00000E9C  3F00                     move.w     -[A7], D0
  1315. 00000E9E  70F3                     moveq.l    D0, 0xFFFFFFF3
  1316. 00000EA0  D06E FFE2                add.w      D0, [A6 - 0x1E]
  1317. 00000EA4  3F00                     move.w     -[A7], D0
  1318. 00000EA6  A8A8                     syscall    OffsetRect
  1319. 00000EA8  7002                     moveq.l    D0, 0x02
  1320. 00000EAA  D06D E696                add.w      D0, [A5 - 0x196A]
  1321. 00000EAE  3B40 E682                move.w     [A5 - 0x197E], D0
  1322. 00000EB2  7002                     moveq.l    D0, 0x02
  1323. 00000EB4  D06D E694                add.w      D0, [A5 - 0x196C]
  1324. 00000EB8  3B40 E684                move.w     [A5 - 0x197C], D0
  1325. 00000EBC  7021                     moveq.l    D0, 0x21
  1326. 00000EBE  D06D E682                add.w      D0, [A5 - 0x197E]
  1327. 00000EC2  3B40 E686                move.w     [A5 - 0x197A], D0
  1328. 00000EC6  70FE                     moveq.l    D0, 0xFFFFFFFE
  1329. 00000EC8  D06D E698                add.w      D0, [A5 - 0x1968]
  1330. 00000ECC  3B40 E688                move.w     [A5 - 0x1978], D0
  1331. 00000ED0  4EBA 19E0                jsr        [PC + 0x19E0 /* 000028B2 */]
  1332. 00000ED4  4EBA 2C72                jsr        [PC + 0x2C72 /* 00003B48 */]
  1333. 00000ED8  4EBA 04D8                jsr        [PC + 0x4D8 /* 000013B2 */]
  1334. 00000EDC  4EBA 0C6A                jsr        [PC + 0xC6A /* 00001B48 */]
  1335. 00000EE0  4EBA 08A4                jsr        [PC + 0x8A4 /* 00001786 */]
  1336. 00000EE4  2F3C 0000 FFFF           move.l     -[A7], 0xFFFF
  1337. 00000EEA  201F                     move.l     D0, [A7]+
  1338. 00000EEC  A032                     syscall    FlushEvents
  1339. label00000EEE:
  1340. 00000EEE  4A2D E846                tst.b      [A5 - 0x17BA]
  1341. 00000EF2  6716                     beq        +0x18 /* 00000F0A */
  1342. 00000EF4  4227                     clr.b      -[A7]
  1343. 00000EF6  3F3C FFFF                move.w     -[A7], 0xFFFF
  1344. 00000EFA  486E FFF0                pea.l      [A6 - 0x10]
  1345. 00000EFE  4878 0031                push.l     0x31 /* '1' */
  1346. 00000F02  42A7                     clr.l      -[A7]
  1347. 00000F04  A860                     syscall    WaitNextEvent
  1348. 00000F06  548F                     addq.l     A7, 2
  1349. 00000F08  6012                     bra        +0x14 /* 00000F1C */
  1350. label00000F0A:
  1351. 00000F0A  A9B4                     syscall    SystemTask
  1352. 00000F0C  4227                     clr.b      -[A7]
  1353. 00000F0E  3F3C FFFF                move.w     -[A7], 0xFFFF
  1354. 00000F12  486E FFF0                pea.l      [A6 - 0x10]
  1355. 00000F16  A970                     syscall    GetNextEvent
  1356. 00000F18  1D5F FFBF                move.b     [A6 - 0x41], [A7]+
  1357. label00000F1C:
  1358. 00000F1C  4A2D E846                tst.b      [A5 - 0x17BA]
  1359. 00000F20  6608                     bne        +0xA /* 00000F2A */
  1360. 00000F22  4A2E FFBF                tst.b      [A6 - 0x41]
  1361. 00000F26  6700 03A4                beq        +0x3A6 /* 000012CC */
  1362. label00000F2A:
  1363. 00000F2A  4A2D E846                tst.b      [A5 - 0x17BA]
  1364. 00000F2E  6702                     beq        +0x4 /* 00000F32 */
  1365. 00000F30  A850                     syscall    InitCursor
  1366. label00000F32:
  1367. 00000F32  302E FFF0                move.w     D0, [A6 - 0x10]
  1368. 00000F36  0C40 000F                cmpi.w     D0, 0xF
  1369. 00000F3A  6200 0390                bhi        +0x392 /* 000012CC */
  1370. 00000F3E  43FA 03A8                lea.l      A1, [PC + 0x3A8 /* 000012E8, value 0xFFE4FC62 */]
  1371. 00000F42  D040                     add.w      D0, D0
  1372. 00000F44  D2F1 0000                add.w      A1, [A1 + D0.w]
  1373. 00000F48  4ED1                     jmp        [A1]
  1374. 00000F4A  4267                     clr.w      -[A7]
  1375. 00000F4C  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1376. 00000F50  486E FFE8                pea.l      [A6 - 0x18]
  1377. 00000F54  A92C                     syscall    FindWindow
  1378. 00000F56  3A1F                     move.w     D5, [A7]+
  1379. 00000F58  3005                     move.w     D0, D5
  1380. 00000F5A  6700 0370                beq        +0x372 /* 000012CC */
  1381. 00000F5E  6B00 036C                bmi        +0x36E /* 000012CC */
  1382. 00000F62  5740                     subq.w     D0, 3
  1383. 00000F64  6728                     beq        +0x2A /* 00000F8E */
  1384. 00000F66  6A00 0364                bpl        +0x366 /* 000012CC */
  1385. 00000F6A  5240                     addq.w     D0, 1
  1386. 00000F6C  6A12                     bpl        +0x14 /* 00000F80 */
  1387. 00000F6E  42A7                     clr.l      -[A7]
  1388. 00000F70  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1389. 00000F74  A93D                     syscall    MenuSelect
  1390. 00000F76  4EBA 2138                jsr        [PC + 0x2138 /* 000030B0 */]
  1391. 00000F7A  588F                     addq.l     A7, 4
  1392. 00000F7C  6000 034E                bra        +0x350 /* 000012CC */
  1393. label00000F80:
  1394. 00000F80  486E FFF0                pea.l      [A6 - 0x10]
  1395. 00000F84  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1396. 00000F88  A9B3                     syscall    SystemClick
  1397. 00000F8A  6000 0340                bra        +0x342 /* 000012CC */
  1398. label00000F8E:
  1399. 00000F8E  42A7                     clr.l      -[A7]
  1400. 00000F90  A924                     syscall    FrontWindow
  1401. 00000F92  201F                     move.l     D0, [A7]+
  1402. 00000F94  B0AE FFE8                cmp.l      D0, [A6 - 0x18]
  1403. 00000F98  670A                     beq        +0xC /* 00000FA4 */
  1404. 00000F9A  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1405. 00000F9E  A91F                     syscall    SelectWindow
  1406. 00000FA0  6000 032A                bra        +0x32C /* 000012CC */
  1407. label00000FA4:
  1408. 00000FA4  202E FFE8                move.l     D0, [A6 - 0x18]
  1409. 00000FA8  B0AD E792                cmp.l      D0, [A5 - 0x186E]
  1410. 00000FAC  6600 031E                bne        +0x320 /* 000012CC */
  1411. 00000FB0  486E FFEC                pea.l      [A6 - 0x14]
  1412. 00000FB4  A874                     syscall    GetPort
  1413. 00000FB6  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1414. 00000FBA  A873                     syscall    SetPort
  1415. 00000FBC  486E FFFA                pea.l      [A6 - 0x6]
  1416. 00000FC0  A871                     syscall    GlobalToLocal
  1417. 00000FC2  4227                     clr.b      -[A7]
  1418. 00000FC4  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1419. 00000FC8  486D E772                pea.l      [A5 - 0x188E]
  1420. 00000FCC  A8AD                     syscall    PtInRect
  1421. 00000FCE  4A1F                     tst.b      [A7]+
  1422. 00000FD0  6774                     beq        +0x76 /* 00001046 */
  1423. 00000FD2  4EBA 041A                jsr        [PC + 0x41A /* 000013EE */]
  1424. 00000FD6  4A40                     tst.w      D0
  1425. 00000FD8  6738                     beq        +0x3A /* 00001012 */
  1426. 00000FDA  526D E796                addq.w     [A5 - 0x186A], 1
  1427. 00000FDE  0C6D 0007 E796           cmpi.w     [A5 - 0x186A], 0x7
  1428. 00000FE4  6F04                     ble        +0x6 /* 00000FEA */
  1429. 00000FE6  426D E796                clr.w      [A5 - 0x186A]
  1430. label00000FEA:
  1431. 00000FEA  302D E796                move.w     D0, [A5 - 0x186A]
  1432. 00000FEE  B06D E798                cmp.w      D0, [A5 - 0x1868]
  1433. 00000FF2  6610                     bne        +0x12 /* 00001004 */
  1434. 00000FF4  526D E796                addq.w     [A5 - 0x186A], 1
  1435. 00000FF8  0C6D 0007 E796           cmpi.w     [A5 - 0x186A], 0x7
  1436. 00000FFE  6F04                     ble        +0x6 /* 00001004 */
  1437. 00001000  426D E796                clr.w      [A5 - 0x186A]
  1438. label00001004:
  1439. 00001004  3B6D E796 E62E           move.w     [A5 - 0x19D2], [A5 - 0x186A]
  1440. 0000100A  4EBA 0DEE                jsr        [PC + 0xDEE /* 00001DFA */]
  1441. 0000100E  6000 02BC                bra        +0x2BE /* 000012CC */
  1442. label00001012:
  1443. 00001012  4A6D E79A                tst.w      [A5 - 0x1866]
  1444. 00001016  660C                     bne        +0xE /* 00001024 */
  1445. 00001018  3B7C 0001 E79A           move.w     [A5 - 0x1866], 0x1
  1446. 0000101E  426D E79C                clr.w      [A5 - 0x1864]
  1447. 00001022  600A                     bra        +0xC /* 0000102E */
  1448. label00001024:
  1449. 00001024  426D E79A                clr.w      [A5 - 0x1866]
  1450. 00001028  3B7C 0001 E79C           move.w     [A5 - 0x1864], 0x1
  1451. label0000102E:
  1452. 0000102E  3B6D E79A E62E           move.w     [A5 - 0x19D2], [A5 - 0x1866]
  1453. 00001034  3B6D E79C E630           move.w     [A5 - 0x19D0], [A5 - 0x1864]
  1454. 0000103A  4EBA 0F98                jsr        [PC + 0xF98 /* 00001FD4 */]
  1455. 0000103E  4EBA 0DBA                jsr        [PC + 0xDBA /* 00001DFA */]
  1456. 00001042  6000 0288                bra        +0x28A /* 000012CC */
  1457. label00001046:
  1458. 00001046  4227                     clr.b      -[A7]
  1459. 00001048  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1460. 0000104C  486D E77A                pea.l      [A5 - 0x1886]
  1461. 00001050  A8AD                     syscall    PtInRect
  1462. 00001052  4A1F                     tst.b      [A7]+
  1463. 00001054  6778                     beq        +0x7A /* 000010CE */
  1464. 00001056  4EBA 0396                jsr        [PC + 0x396 /* 000013EE */]
  1465. 0000105A  4A40                     tst.w      D0
  1466. 0000105C  673C                     beq        +0x3E /* 0000109A */
  1467. 0000105E  526D E798                addq.w     [A5 - 0x1868], 1
  1468. 00001062  0C6D 0007 E798           cmpi.w     [A5 - 0x1868], 0x7
  1469. 00001068  6F04                     ble        +0x6 /* 0000106E */
  1470. 0000106A  426D E798                clr.w      [A5 - 0x1868]
  1471. label0000106E:
  1472. 0000106E  302D E798                move.w     D0, [A5 - 0x1868]
  1473. 00001072  B06D E796                cmp.w      D0, [A5 - 0x186A]
  1474. 00001076  6610                     bne        +0x12 /* 00001088 */
  1475. 00001078  526D E798                addq.w     [A5 - 0x1868], 1
  1476. 0000107C  0C6D 0007 E798           cmpi.w     [A5 - 0x1868], 0x7
  1477. 00001082  6F04                     ble        +0x6 /* 00001088 */
  1478. 00001084  426D E798                clr.w      [A5 - 0x1868]
  1479. label00001088:
  1480. 00001088  3B6D E798 E630           move.w     [A5 - 0x19D0], [A5 - 0x1868]
  1481. 0000108E  4EBA 0F44                jsr        [PC + 0xF44 /* 00001FD4 */]
  1482. 00001092  4EBA 0D66                jsr        [PC + 0xD66 /* 00001DFA */]
  1483. 00001096  6000 0234                bra        +0x236 /* 000012CC */
  1484. label0000109A:
  1485. 0000109A  4A6D E79A                tst.w      [A5 - 0x1866]
  1486. 0000109E  660C                     bne        +0xE /* 000010AC */
  1487. 000010A0  3B7C 0001 E79A           move.w     [A5 - 0x1866], 0x1
  1488. 000010A6  426D E79C                clr.w      [A5 - 0x1864]
  1489. 000010AA  600A                     bra        +0xC /* 000010B6 */
  1490. label000010AC:
  1491. 000010AC  426D E79A                clr.w      [A5 - 0x1866]
  1492. 000010B0  3B7C 0001 E79C           move.w     [A5 - 0x1864], 0x1
  1493. label000010B6:
  1494. 000010B6  3B6D E79A E62E           move.w     [A5 - 0x19D2], [A5 - 0x1866]
  1495. 000010BC  3B6D E79C E630           move.w     [A5 - 0x19D0], [A5 - 0x1864]
  1496. 000010C2  4EBA 0F10                jsr        [PC + 0xF10 /* 00001FD4 */]
  1497. 000010C6  4EBA 0D32                jsr        [PC + 0xD32 /* 00001DFA */]
  1498. 000010CA  6000 0200                bra        +0x202 /* 000012CC */
  1499. label000010CE:
  1500. 000010CE  4227                     clr.b      -[A7]
  1501. 000010D0  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1502. 000010D4  486D E782                pea.l      [A5 - 0x187E]
  1503. 000010D8  A8AD                     syscall    PtInRect
  1504. 000010DA  4A1F                     tst.b      [A7]+
  1505. 000010DC  6770                     beq        +0x72 /* 0000114E */
  1506. 000010DE  4EBA 030E                jsr        [PC + 0x30E /* 000013EE */]
  1507. 000010E2  4A40                     tst.w      D0
  1508. 000010E4  6738                     beq        +0x3A /* 0000111E */
  1509. 000010E6  526D E79E                addq.w     [A5 - 0x1862], 1
  1510. 000010EA  0C6D 0007 E79E           cmpi.w     [A5 - 0x1862], 0x7
  1511. 000010F0  6F04                     ble        +0x6 /* 000010F6 */
  1512. 000010F2  426D E79E                clr.w      [A5 - 0x1862]
  1513. label000010F6:
  1514. 000010F6  302D E79E                move.w     D0, [A5 - 0x1862]
  1515. 000010FA  B06D E7A0                cmp.w      D0, [A5 - 0x1860]
  1516. 000010FE  6610                     bne        +0x12 /* 00001110 */
  1517. 00001100  526D E79E                addq.w     [A5 - 0x1862], 1
  1518. 00001104  0C6D 0007 E79E           cmpi.w     [A5 - 0x1862], 0x7
  1519. 0000110A  6F04                     ble        +0x6 /* 00001110 */
  1520. 0000110C  426D E79E                clr.w      [A5 - 0x1862]
  1521. label00001110:
  1522. 00001110  3B6D E79E E62A           move.w     [A5 - 0x19D6], [A5 - 0x1862]
  1523. 00001116  4EBA 0AD6                jsr        [PC + 0xAD6 /* 00001BEE */]
  1524. 0000111A  6000 01B0                bra        +0x1B2 /* 000012CC */
  1525. label0000111E:
  1526. 0000111E  4A6D E7A2                tst.w      [A5 - 0x185E]
  1527. 00001122  660C                     bne        +0xE /* 00001130 */
  1528. 00001124  3B7C 0001 E7A2           move.w     [A5 - 0x185E], 0x1
  1529. 0000112A  426D E7A4                clr.w      [A5 - 0x185C]
  1530. 0000112E  600A                     bra        +0xC /* 0000113A */
  1531. label00001130:
  1532. 00001130  426D E7A2                clr.w      [A5 - 0x185E]
  1533. 00001134  3B7C 0001 E7A4           move.w     [A5 - 0x185C], 0x1
  1534. label0000113A:
  1535. 0000113A  3B6D E7A2 E62A           move.w     [A5 - 0x19D6], [A5 - 0x185E]
  1536. 00001140  3B6D E7A4 E62C           move.w     [A5 - 0x19D4], [A5 - 0x185C]
  1537. 00001146  4EBA 0AA6                jsr        [PC + 0xAA6 /* 00001BEE */]
  1538. 0000114A  6000 0180                bra        +0x182 /* 000012CC */
  1539. label0000114E:
  1540. 0000114E  4227                     clr.b      -[A7]
  1541. 00001150  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1542. 00001154  486D E78A                pea.l      [A5 - 0x1876]
  1543. 00001158  A8AD                     syscall    PtInRect
  1544. 0000115A  4A1F                     tst.b      [A7]+
  1545. 0000115C  6770                     beq        +0x72 /* 000011CE */
  1546. 0000115E  4EBA 028E                jsr        [PC + 0x28E /* 000013EE */]
  1547. 00001162  4A40                     tst.w      D0
  1548. 00001164  6738                     beq        +0x3A /* 0000119E */
  1549. 00001166  526D E7A0                addq.w     [A5 - 0x1860], 1
  1550. 0000116A  0C6D 0007 E7A0           cmpi.w     [A5 - 0x1860], 0x7
  1551. 00001170  6F04                     ble        +0x6 /* 00001176 */
  1552. 00001172  426D E7A0                clr.w      [A5 - 0x1860]
  1553. label00001176:
  1554. 00001176  302D E7A0                move.w     D0, [A5 - 0x1860]
  1555. 0000117A  B06D E79E                cmp.w      D0, [A5 - 0x1862]
  1556. 0000117E  6610                     bne        +0x12 /* 00001190 */
  1557. 00001180  526D E7A0                addq.w     [A5 - 0x1860], 1
  1558. 00001184  0C6D 0007 E7A0           cmpi.w     [A5 - 0x1860], 0x7
  1559. 0000118A  6F04                     ble        +0x6 /* 00001190 */
  1560. 0000118C  426D E7A0                clr.w      [A5 - 0x1860]
  1561. label00001190:
  1562. 00001190  3B6D E7A0 E62C           move.w     [A5 - 0x19D4], [A5 - 0x1860]
  1563. 00001196  4EBA 0A56                jsr        [PC + 0xA56 /* 00001BEE */]
  1564. 0000119A  6000 0130                bra        +0x132 /* 000012CC */
  1565. label0000119E:
  1566. 0000119E  4A6D E7A2                tst.w      [A5 - 0x185E]
  1567. 000011A2  660C                     bne        +0xE /* 000011B0 */
  1568. 000011A4  3B7C 0001 E7A2           move.w     [A5 - 0x185E], 0x1
  1569. 000011AA  426D E7A4                clr.w      [A5 - 0x185C]
  1570. 000011AE  600A                     bra        +0xC /* 000011BA */
  1571. label000011B0:
  1572. 000011B0  426D E7A2                clr.w      [A5 - 0x185E]
  1573. 000011B4  3B7C 0001 E7A4           move.w     [A5 - 0x185C], 0x1
  1574. label000011BA:
  1575. 000011BA  3B6D E7A2 E62A           move.w     [A5 - 0x19D6], [A5 - 0x185E]
  1576. 000011C0  3B6D E7A4 E62C           move.w     [A5 - 0x19D4], [A5 - 0x185C]
  1577. 000011C6  4EBA 0A26                jsr        [PC + 0xA26 /* 00001BEE */]
  1578. 000011CA  6000 0100                bra        +0x102 /* 000012CC */
  1579. label000011CE:
  1580. 000011CE  7C00                     moveq.l    D6, 0x00
  1581. 000011D0  6026                     bra        +0x28 /* 000011F8 */
  1582. label000011D2:
  1583. 000011D2  4227                     clr.b      -[A7]
  1584. 000011D4  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1585. 000011D8  204D                     movea.l    A0, A5
  1586. 000011DA  2006                     move.l     D0, D6
  1587. 000011DC  48C0                     ext.l      D0
  1588. 000011DE  E788                     lsl        D0, 3
  1589. 000011E0  D1C0                     add.l      A0, D0
  1590. 000011E2  4868 E6A2                pea.l      [A0 - 0x195E]
  1591. 000011E6  A8AD                     syscall    PtInRect
  1592. 000011E8  4A1F                     tst.b      [A7]+
  1593. 000011EA  670A                     beq        +0xC /* 000011F6 */
  1594. 000011EC  3F06                     move.w     -[A7], D6
  1595. 000011EE  4EBA 0222                jsr        [PC + 0x222 /* 00001412 */]
  1596. 000011F2  548F                     addq.l     A7, 2
  1597. 000011F4  6008                     bra        +0xA /* 000011FE */
  1598. label000011F6:
  1599. 000011F6  5246                     addq.w     D6, 1
  1600. label000011F8:
  1601. 000011F8  0C46 001A                cmpi.w     D6, 0x1A
  1602. 000011FC  6DD4                     blt        -0x2A /* 000011D2 */
  1603. label000011FE:
  1604. 000011FE  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1605. 00001202  A873                     syscall    SetPort
  1606. 00001204  6000 00C6                bra        +0xC8 /* 000012CC */
  1607. 00001208  486E FFEC                pea.l      [A6 - 0x14]
  1608. 0000120C  A874                     syscall    GetPort
  1609. 0000120E  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1610. 00001212  A873                     syscall    SetPort
  1611. 00001214  3C2E FFF4                move.w     D6, [A6 - 0xC]
  1612. 00001218  0246 00FF                andi.w     D6, 0xFF
  1613. 0000121C  082E 0000 FFFE           btst.b     [A6 - 0x2], 0x0
  1614. 00001222  671A                     beq        +0x1C /* 0000123E */
  1615. 00001224  42A7                     clr.l      -[A7]
  1616. 00001226  3F06                     move.w     -[A7], D6
  1617. 00001228  A93E                     syscall    MenuKey
  1618. 0000122A  261F                     move.l     D3, [A7]+
  1619. 0000122C  6710                     beq        +0x12 /* 0000123E */
  1620. 0000122E  2F03                     move.l     -[A7], D3
  1621. 00001230  4EBA 1E7E                jsr        [PC + 0x1E7E /* 000030B0 */]
  1622. 00001234  2EAE FFEC                move.l     [A7], [A6 - 0x14]
  1623. 00001238  A873                     syscall    SetPort
  1624. 0000123A  6000 0090                bra        +0x92 /* 000012CC */
  1625. label0000123E:
  1626. 0000123E  302E FFFE                move.w     D0, [A6 - 0x2]
  1627. 00001242  0240 0900                andi.w     D0, 0x900 /* '\t\0' */
  1628. 00001246  6620                     bne        +0x22 /* 00001268 */
  1629. 00001248  182E FFF5                move.b     D4, [A6 - 0xB]
  1630. 0000124C  4884                     ext.w      D4
  1631. 0000124E  3F04                     move.w     -[A7], D4
  1632. 00001250  4EAD 012A                jsr        [A5 + 0x12A /* export_33 */]
  1633. 00001254  7EBF                     moveq.l    D7, 0xFFFFFFBF
  1634. 00001256  DE40                     add.w      D7, D0
  1635. 00001258  3E87                     move.w     [A7], D7
  1636. 0000125A  4EBA 01B6                jsr        [PC + 0x1B6 /* 00001412 */]
  1637. 0000125E  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1638. 00001262  A873                     syscall    SetPort
  1639. 00001264  548F                     addq.l     A7, 2
  1640. 00001266  6064                     bra        +0x66 /* 000012CC */
  1641. label00001268:
  1642. 00001268  3F3C 0002                move.w     -[A7], 0x2
  1643. 0000126C  A9C8                     syscall    SysBeep
  1644. 0000126E  605C                     bra        +0x5E /* 000012CC */
  1645. 00001270  486E FFF0                pea.l      [A6 - 0x10]
  1646. 00001274  4EBA 0092                jsr        [PC + 0x92 /* 00001308 */]
  1647. 00001278  588F                     addq.l     A7, 4
  1648. 0000127A  6050                     bra        +0x52 /* 000012CC */
  1649. 0000127C  202E FFF2                move.l     D0, [A6 - 0xE]
  1650. 00001280  7218                     moveq.l    D1, 0x18
  1651. 00001282  E2A0                     asr        D0, D1
  1652. 00001284  0280 0000 00FF           andi.l     D0, 0xFF
  1653. 0000128A  6740                     beq        +0x42 /* 000012CC */
  1654. 0000128C  6B3E                     bmi        +0x40 /* 000012CC */
  1655. 0000128E  0480 0000 00FA           subi.l     D0, 0xFA
  1656. 00001294  6736                     beq        +0x38 /* 000012CC */
  1657. 00001296  6A34                     bpl        +0x36 /* 000012CC */
  1658. 00001298  0480 FFFF FF08           subi.l     D0, 0xFFFFFF08
  1659. 0000129E  6A2C                     bpl        +0x2E /* 000012CC */
  1660. 000012A0  082E 0000 FFF5           btst.b     [A6 - 0xB], 0x0
  1661. 000012A6  670E                     beq        +0x10 /* 000012B6 */
  1662. 000012A8  A850                     syscall    InitCursor
  1663. 000012AA  486E FFF0                pea.l      [A6 - 0x10]
  1664. 000012AE  4EBA 0058                jsr        [PC + 0x58 /* 00001308 */]
  1665. 000012B2  588F                     addq.l     A7, 4
  1666. 000012B4  6016                     bra        +0x18 /* 000012CC */
  1667. label000012B6:
  1668. 000012B6  486E FFF0                pea.l      [A6 - 0x10]
  1669. 000012BA  4EBA 004C                jsr        [PC + 0x4C /* 00001308 */]
  1670. 000012BE  588F                     addq.l     A7, 4
  1671. 000012C0  600A                     bra        +0xC /* 000012CC */
  1672. 000012C2  486E FFF0                pea.l      [A6 - 0x10]
  1673. 000012C6  4EBA 006E                jsr        [PC + 0x6E /* 00001336 */]
  1674. 000012CA  588F                     addq.l     A7, 4
  1675. label000012CC:
  1676. 000012CC  4A6D E632                tst.w      [A5 - 0x19CE]
  1677. 000012D0  6700 FC1C                beq        -0x3E2 /* 00000EEE */
  1678. 000012D4  4267                     clr.w      -[A7]
  1679. 000012D6  4EBA 012C                jsr        [PC + 0x12C /* 00001404 */]
  1680. 000012DA  548F                     addq.l     A7, 2
  1681. 000012DC  6000 FC10                bra        -0x3EE /* 00000EEE */
  1682. label000012E0:
  1683. 000012E0  4CDF 00F8                movem.l    D3,D4,D5,D6,D7, [A7]+
  1684. 000012E4  4E5E                     unlink     A6
  1685. 000012E6  4E75                     rts
  1686. 000012E8  FFE4                     .invalid   <<F/7/7>>
  1687. 000012EA  FC62 FFE4                .extension 0xC62 <<F/1/6>>, 0xFFE4 // unimplemented
  1688. 000012EE  FF20                     .extension 0xF20 <<F/4-5/7>> // unimplemented
  1689. 000012F0  FFE4                     .invalid   <<F/7/7>>
  1690. 000012F2  FF20                     .extension 0xF20 <<F/4-5/7>> // unimplemented
  1691. 000012F4  FFDA                     .invalid   <<F/7/7>>
  1692. 000012F6  FFE4                     .invalid   <<F/7/7>>
  1693. 000012F8  FF88                     .invalid   <<F/6/7>>
  1694. 000012FA  FFE4                     .invalid   <<F/7/7>>
  1695. 000012FC  FFE4                     .invalid   <<F/7/7>>
  1696. 000012FE  FFE4                     .invalid   <<F/7/7>>
  1697. 00001300  FFE4                     .invalid   <<F/7/7>>
  1698. 00001302  FFE4                     .invalid   <<F/7/7>>
  1699. 00001304  FFE4                     .invalid   <<F/7/7>>
  1700. 00001306  FF94                     .invalid   <<F/6/7>>
  1701. fn00001308:
  1702. 00001308  4E56 0000                link       A6, 0
  1703. 0000130C  206E 0008                movea.l    A0, [A6 + 0x8]
  1704. 00001310  2028 0002                move.l     D0, [A0 + 0x2]
  1705. 00001314  B0AD E792                cmp.l      D0, [A5 - 0x186E]
  1706. 00001318  6618                     bne        +0x1A /* 00001332 */
  1707. 0000131A  206E 0008                movea.l    A0, [A6 + 0x8]
  1708. 0000131E  0828 0000 000F           btst.b     [A0 + 0xF], 0x0
  1709. 00001324  670C                     beq        +0xE /* 00001332 */
  1710. 00001326  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1711. 0000132A  A91F                     syscall    SelectWindow
  1712. 0000132C  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1713. 00001330  A873                     syscall    SetPort
  1714. label00001332:
  1715. 00001332  4E5E                     unlink     A6
  1716. 00001334  4E75                     rts
  1717. fn00001336:
  1718. 00001336  4E56 FFFC                link       A6, -0x0004
  1719. 0000133A  2F07                     move.l     -[A7], D7
  1720. 0000133C  486E FFFC                pea.l      [A6 - 0x4]
  1721. 00001340  A874                     syscall    GetPort
  1722. 00001342  206E 0008                movea.l    A0, [A6 + 0x8]
  1723. 00001346  2028 0002                move.l     D0, [A0 + 0x2]
  1724. 0000134A  B0AD E792                cmp.l      D0, [A5 - 0x186E]
  1725. 0000134E  6656                     bne        +0x58 /* 000013A6 */
  1726. 00001350  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1727. 00001354  A873                     syscall    SetPort
  1728. 00001356  4EBA 005A                jsr        [PC + 0x5A /* 000013B2 */]
  1729. 0000135A  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1730. 0000135E  A922                     syscall    BeginUpdate
  1731. 00001360  206D E792                movea.l    A0, [A5 - 0x186E]
  1732. 00001364  4868 0010                pea.l      [A0 + 0x10]
  1733. 00001368  A8A3                     syscall    EraseRect
  1734. 0000136A  206D E792                movea.l    A0, [A5 - 0x186E]
  1735. 0000136E  4868 0010                pea.l      [A0 + 0x10]
  1736. 00001372  A8A1                     syscall    FrameRect
  1737. 00001374  4EBA 0CAA                jsr        [PC + 0xCAA /* 00002020 */]
  1738. 00001378  4EBA 0C5A                jsr        [PC + 0xC5A /* 00001FD4 */]
  1739. 0000137C  4EBA 07FE                jsr        [PC + 0x7FE /* 00001B7C */]
  1740. 00001380  302D E67C                move.w     D0, [A5 - 0x1984]
  1741. 00001384  B06D E680                cmp.w      D0, [A5 - 0x1980]
  1742. 00001388  6716                     beq        +0x18 /* 000013A0 */
  1743. 0000138A  7E0B                     moveq.l    D7, 0x0B
  1744. 0000138C  600C                     bra        +0xE /* 0000139A */
  1745. label0000138E:
  1746. 0000138E  4267                     clr.w      -[A7]
  1747. 00001390  3F07                     move.w     -[A7], D7
  1748. 00001392  4EBA 119A                jsr        [PC + 0x119A /* 0000252E */]
  1749. 00001396  588F                     addq.l     A7, 4
  1750. 00001398  5347                     subq.w     D7, 1
  1751. label0000139A:
  1752. 0000139A  BE6D E67C                cmp.w      D7, [A5 - 0x1984]
  1753. 0000139E  6CEE                     bge        -0x10 /* 0000138E */
  1754. label000013A0:
  1755. 000013A0  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  1756. 000013A4  A923                     syscall    EndUpdate
  1757. label000013A6:
  1758. 000013A6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1759. 000013AA  A873                     syscall    SetPort
  1760. 000013AC  2E1F                     move.l     D7, [A7]+
  1761. 000013AE  4E5E                     unlink     A6
  1762. 000013B0  4E75                     rts
  1763. fn000013B2:
  1764. 000013B2  4EBA 003A                jsr        [PC + 0x3A /* 000013EE */]
  1765. 000013B6  4A40                     tst.w      D0
  1766. 000013B8  671A                     beq        +0x1C /* 000013D4 */
  1767. 000013BA  3B6D E796 E62E           move.w     [A5 - 0x19D2], [A5 - 0x186A]
  1768. 000013C0  3B6D E798 E630           move.w     [A5 - 0x19D0], [A5 - 0x1868]
  1769. 000013C6  3B6D E79E E62A           move.w     [A5 - 0x19D6], [A5 - 0x1862]
  1770. 000013CC  3B6D E7A0 E62C           move.w     [A5 - 0x19D4], [A5 - 0x1860]
  1771. 000013D2  6018                     bra        +0x1A /* 000013EC */
  1772. label000013D4:
  1773. 000013D4  3B6D E79A E62E           move.w     [A5 - 0x19D2], [A5 - 0x1866]
  1774. 000013DA  3B6D E79C E630           move.w     [A5 - 0x19D0], [A5 - 0x1864]
  1775. 000013E0  3B6D E7A2 E62A           move.w     [A5 - 0x19D6], [A5 - 0x185E]
  1776. 000013E6  3B6D E7A4 E62C           move.w     [A5 - 0x19D4], [A5 - 0x185C]
  1777. label000013EC:
  1778. 000013EC  4E75                     rts
  1779. fn000013EE:
  1780. 000013EE  4A2D E847                tst.b      [A5 - 0x17B9]
  1781. 000013F2  670C                     beq        +0xE /* 00001400 */
  1782. 000013F4  4EBA 01B6                jsr        [PC + 0x1B6 /* 000015AC */]
  1783. 000013F8  5540                     subq.w     D0, 2
  1784. 000013FA  6F04                     ble        +0x6 /* 00001400 */
  1785. 000013FC  7001                     moveq.l    D0, 0x01
  1786. 000013FE  6002                     bra        +0x4 /* 00001402 */
  1787. label00001400:
  1788. 00001400  7000                     moveq.l    D0, 0x00
  1789. label00001402:
  1790. 00001402  4E75                     rts
  1791. fn00001404:
  1792. 00001404  4E56 0000                link       A6, 0
  1793. 00001408  4EBA 2692                jsr        [PC + 0x2692 /* 00003A9C */]
  1794. 0000140C  A9F4                     syscall    ExitToShell
  1795. 0000140E  4E5E                     unlink     A6
  1796. 00001410  4E75                     rts
  1797. fn00001412:
  1798. 00001412  4E56 0000                link       A6, 0
  1799. 00001416  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  1800. 0000141A  3E2E 0008                move.w     D7, [A6 + 0x8]
  1801. 0000141E  4A47                     tst.w      D7
  1802. 00001420  6D00 0120                blt        +0x122 /* 00001542 */
  1803. 00001424  0C47 0019                cmpi.w     D7, 0x19
  1804. 00001428  6E00 0118                bgt        +0x11A /* 00001542 */
  1805. 0000142C  7C00                     moveq.l    D6, 0x00
  1806. 0000142E  601C                     bra        +0x1E /* 0000144C */
  1807. label00001430:
  1808. 00001430  204D                     movea.l    A0, A5
  1809. 00001432  2007                     move.l     D0, D7
  1810. 00001434  48C0                     ext.l      D0
  1811. 00001436  E788                     lsl        D0, 3
  1812. 00001438  D1C0                     add.l      A0, D0
  1813. 0000143A  4868 E6A2                pea.l      [A0 - 0x195E]
  1814. 0000143E  A8A4                     syscall    InvertRect
  1815. 00001440  3F3C 0005                move.w     -[A7], 0x5
  1816. 00001444  4EBA 0B50                jsr        [PC + 0xB50 /* 00001F96 */]
  1817. 00001448  548F                     addq.l     A7, 2
  1818. 0000144A  5246                     addq.w     D6, 1
  1819. label0000144C:
  1820. 0000144C  0C46 0006                cmpi.w     D6, 0x6
  1821. 00001450  6DDE                     blt        -0x20 /* 00001430 */
  1822. 00001452  204D                     movea.l    A0, A5
  1823. 00001454  D0C7                     add.w      A0, D7
  1824. 00001456  D0C7                     add.w      A0, D7
  1825. 00001458  0C68 0001 E648           cmpi.w     [A0 - 0x19B8], 0x1
  1826. 0000145E  6708                     beq        +0xA /* 00001468 */
  1827. 00001460  0C6D 0001 E67C           cmpi.w     [A5 - 0x1984], 0x1
  1828. 00001466  6C0A                     bge        +0xC /* 00001472 */
  1829. label00001468:
  1830. 00001468  3F3C 0002                move.w     -[A7], 0x2
  1831. 0000146C  A9C8                     syscall    SysBeep
  1832. 0000146E  6000 00D2                bra        +0xD4 /* 00001542 */
  1833. label00001472:
  1834. 00001472  204D                     movea.l    A0, A5
  1835. 00001474  D0C7                     add.w      A0, D7
  1836. 00001476  D0C7                     add.w      A0, D7
  1837. 00001478  317C 0001 E648           move.w     [A0 - 0x19B8], 0x1
  1838. 0000147E  3F3C 0001                move.w     -[A7], 0x1
  1839. 00001482  3F07                     move.w     -[A7], D7
  1840. 00001484  4EBA 1518                jsr        [PC + 0x1518 /* 0000299E */]
  1841. 00001488  4EBA 0970                jsr        [PC + 0x970 /* 00001DFA */]
  1842. 0000148C  3E87                     move.w     [A7], D7
  1843. 0000148E  4EBA 086A                jsr        [PC + 0x86A /* 00001CFA */]
  1844. 00001492  3800                     move.w     D4, D0
  1845. 00001494  0C44 0001                cmpi.w     D4, 0x1
  1846. 00001498  588F                     addq.l     A7, 4
  1847. 0000149A  661E                     bne        +0x20 /* 000014BA */
  1848. 0000149C  3F3C 0002                move.w     -[A7], 0x2
  1849. 000014A0  4EBA 0244                jsr        [PC + 0x244 /* 000016E6 */]
  1850. 000014A4  4EBA 0AAC                jsr        [PC + 0xAAC /* 00001F52 */]
  1851. 000014A8  4EBA 0900                jsr        [PC + 0x900 /* 00001DAA */]
  1852. 000014AC  4878 000A                push.l     0xA /* '\n' */
  1853. 000014B0  201F                     move.l     D0, [A7]+
  1854. 000014B2  A032                     syscall    FlushEvents
  1855. 000014B4  548F                     addq.l     A7, 2
  1856. 000014B6  6000 008A                bra        +0x8C /* 00001542 */
  1857. label000014BA:
  1858. 000014BA  0C44 0002                cmpi.w     D4, 0x2
  1859. 000014BE  6600 0082                bne        +0x84 /* 00001542 */
  1860. 000014C2  3F3C 0003                move.w     -[A7], 0x3
  1861. 000014C6  4EBA 021E                jsr        [PC + 0x21E /* 000016E6 */]
  1862. 000014CA  7C00                     moveq.l    D6, 0x00
  1863. 000014CC  548F                     addq.l     A7, 2
  1864. label000014CE:
  1865. 000014CE  486D E634                pea.l      [A5 - 0x19CC]
  1866. 000014D2  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  1867. 000014D6  3046                     movea.w    A0, D6
  1868. 000014D8  B088                     cmp.l      D0, A0
  1869. 000014DA  588F                     addq.l     A7, 4
  1870. 000014DC  6354                     bls        +0x56 /* 00001532 */
  1871. 000014DE  204D                     movea.l    A0, A5
  1872. 000014E0  D0C6                     add.w      A0, D6
  1873. 000014E2  1A28 E634                move.b     D5, [A0 - 0x19CC]
  1874. 000014E6  4885                     ext.w      D5
  1875. 000014E8  0645 FFBF                addi.w     D5, 0xFFBF
  1876. 000014EC  0C45 FFDF                cmpi.w     D5, 0xFFDF
  1877. 000014F0  673C                     beq        +0x3E /* 0000152E */
  1878. 000014F2  204D                     movea.l    A0, A5
  1879. 000014F4  D0C5                     add.w      A0, D5
  1880. 000014F6  D0C5                     add.w      A0, D5
  1881. 000014F8  0C68 0001 E648           cmpi.w     [A0 - 0x19B8], 0x1
  1882. 000014FE  672E                     beq        +0x30 /* 0000152E */
  1883. 00001500  204D                     movea.l    A0, A5
  1884. 00001502  D0C5                     add.w      A0, D5
  1885. 00001504  D0C5                     add.w      A0, D5
  1886. 00001506  4A68 E648                tst.w      [A0 - 0x19B8]
  1887. 0000150A  6622                     bne        +0x24 /* 0000152E */
  1888. 0000150C  204D                     movea.l    A0, A5
  1889. 0000150E  D0C5                     add.w      A0, D5
  1890. 00001510  D0C5                     add.w      A0, D5
  1891. 00001512  317C 0001 E648           move.w     [A0 - 0x19B8], 0x1
  1892. 00001518  4EBA 08E0                jsr        [PC + 0x8E0 /* 00001DFA */]
  1893. 0000151C  3F3C 0004                move.w     -[A7], 0x4
  1894. 00001520  4EBA 01C4                jsr        [PC + 0x1C4 /* 000016E6 */]
  1895. 00001524  3EBC 000F                move.w     [A7], 0xF
  1896. 00001528  4EBA 0A6C                jsr        [PC + 0xA6C /* 00001F96 */]
  1897. 0000152C  548F                     addq.l     A7, 2
  1898. label0000152E:
  1899. 0000152E  5246                     addq.w     D6, 1
  1900. 00001530  609C                     bra        -0x62 /* 000014CE */
  1901. label00001532:
  1902. 00001532  4EBA 0A1E                jsr        [PC + 0xA1E /* 00001F52 */]
  1903. 00001536  4EBA 0872                jsr        [PC + 0x872 /* 00001DAA */]
  1904. 0000153A  4878 000A                push.l     0xA /* '\n' */
  1905. 0000153E  201F                     move.l     D0, [A7]+
  1906. 00001540  A032                     syscall    FlushEvents
  1907. label00001542:
  1908. 00001542  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  1909. 00001546  4E5E                     unlink     A6
  1910. 00001548  4E75                     rts
  1911. fn0000154A:
  1912. 0000154A  4E56 FFFC                link       A6, -0x0004
  1913. 0000154E  42A7                     clr.l      -[A7]
  1914. 00001550  2F3C 6000 0060           move.l     -[A7], 0x60000060 /* '`\0\0`' */
  1915. 00001556  4EBA 2A84                jsr        [PC + 0x2A84 /* 00003FDC */]
  1916. 0000155A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  1917. 0000155E  42A7                     clr.l      -[A7]
  1918. 00001560  2F3C 6000 009F           move.l     -[A7], 0x6000009F
  1919. 00001566  4EBA 2A74                jsr        [PC + 0x2A74 /* 00003FDC */]
  1920. 0000156A  202E FFFC                move.l     D0, [A6 - 0x4]
  1921. 0000156E  B09F                     cmp.l      D0, [A7]+
  1922. 00001570  56C0                     sne        D0
  1923. 00001572  4400                     neg.b      D0
  1924. 00001574  1B40 E846                move.b     [A5 - 0x17BA], D0
  1925. 00001578  4E5E                     unlink     A6
  1926. 0000157A  4E75                     rts
  1927. fn0000157C:
  1928. 0000157C  4E56 FFF0                link       A6, -0x0010
  1929. 00001580  2F07                     move.l     -[A7], D7
  1930. 00001582  4267                     clr.w      -[A7]
  1931. 00001584  3F3C 0001                move.w     -[A7], 0x1
  1932. 00001588  486E FFF0                pea.l      [A6 - 0x10]
  1933. 0000158C  4EBA 26D6                jsr        [PC + 0x26D6 /* 00003C64 */]
  1934. 00001590  3E1F                     move.w     D7, [A7]+
  1935. 00001592  4A47                     tst.w      D7
  1936. 00001594  6704                     beq        +0x6 /* 0000159A */
  1937. 00001596  7000                     moveq.l    D0, 0x00
  1938. 00001598  600C                     bra        +0xE /* 000015A6 */
  1939. label0000159A:
  1940. 0000159A  4A2E FFF9                tst.b      [A6 - 0x7]
  1941. 0000159E  6704                     beq        +0x6 /* 000015A4 */
  1942. 000015A0  7001                     moveq.l    D0, 0x01
  1943. 000015A2  6002                     bra        +0x4 /* 000015A6 */
  1944. label000015A4:
  1945. 000015A4  7000                     moveq.l    D0, 0x00
  1946. label000015A6:
  1947. 000015A6  2E1F                     move.l     D7, [A7]+
  1948. 000015A8  4E5E                     unlink     A6
  1949. 000015AA  4E75                     rts
  1950. fn000015AC:
  1951. 000015AC  48E7 0018                movem.l    -[A7], A3,A4
  1952. 000015B0  42A7                     clr.l      -[A7]
  1953. 000015B2  AA32                     syscall    GetGDevice
  1954. 000015B4  285F                     movea.l    A4, [A7]+
  1955. 000015B6  2054                     movea.l    A0, [A4]
  1956. 000015B8  2668 0016                movea.l    A3, [A0 + 0x16]
  1957. 000015BC  2253                     movea.l    A1, [A3]
  1958. 000015BE  3029 0020                move.w     D0, [A1 + 0x20]
  1959. 000015C2  4CDF 1800                movem.l    A3,A4, [A7]+
  1960. 000015C6  4E75                     rts
  1961. fn000015C8:
  1962. 000015C8  4E56 FDE0                link       A6, -0x0220
  1963. 000015CC  2F07                     move.l     -[A7], D7
  1964. 000015CE  4267                     clr.w      -[A7]
  1965. 000015D0  486E FDE0                pea.l      [A6 - 0x220]
  1966. 000015D4  486D E850                pea.l      [A5 - 0x17B0]
  1967. 000015D8  4EBA 2ACA                jsr        [PC + 0x2ACA /* 000040A4 */]
  1968. 000015DC  486D E854                pea.l      [A5 - 0x17AC]
  1969. 000015E0  486E FEF0                pea.l      [A6 - 0x110]
  1970. 000015E4  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  1971. 000015E8  4257                     clr.w      [A7]
  1972. 000015EA  3F3C 0001                move.w     -[A7], 0x1
  1973. 000015EE  486E FFF0                pea.l      [A6 - 0x10]
  1974. 000015F2  4EBA 2670                jsr        [PC + 0x2670 /* 00003C64 */]
  1975. 000015F6  3E1F                     move.w     D7, [A7]+
  1976. 000015F8  4A47                     tst.w      D7
  1977. 000015FA  508F                     addq.l     A7, 8
  1978. 000015FC  670E                     beq        +0x10 /* 0000160C */
  1979. 000015FE  486E FEF0                pea.l      [A6 - 0x110]
  1980. 00001602  4EBA 25BA                jsr        [PC + 0x25BA /* 00003BBE */]
  1981. 00001606  7000                     moveq.l    D0, 0x00
  1982. 00001608  6000 00D4                bra        +0xD6 /* 000016DE */
  1983. label0000160C:
  1984. 0000160C  0C6E 0604 FFF4           cmpi.w     [A6 - 0xC], 0x604
  1985. 00001612  6C0E                     bge        +0x10 /* 00001622 */
  1986. 00001614  486E FEF0                pea.l      [A6 - 0x110]
  1987. 00001618  4EBA 25A4                jsr        [PC + 0x25A4 /* 00003BBE */]
  1988. 0000161C  7000                     moveq.l    D0, 0x00
  1989. 0000161E  6000 00BE                bra        +0xC0 /* 000016DE */
  1990. label00001622:
  1991. 00001622  0C6E 0002 FFF2           cmpi.w     [A6 - 0xE], 0x2
  1992. 00001628  6C0E                     bge        +0x10 /* 00001638 */
  1993. 0000162A  486E FEF0                pea.l      [A6 - 0x110]
  1994. 0000162E  4EBA 258E                jsr        [PC + 0x258E /* 00003BBE */]
  1995. 00001632  7000                     moveq.l    D0, 0x00
  1996. 00001634  6000 00A8                bra        +0xAA /* 000016DE */
  1997. label00001638:
  1998. 00001638  422D E848                clr.b      [A5 - 0x17B8]
  1999. 0000163C  3B6E FFFE E84A           move.w     [A5 - 0x17B6], [A6 - 0x2]
  2000. 00001642  4267                     clr.w      -[A7]
  2001. 00001644  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  2002. 00001648  486E FEE2                pea.l      [A6 - 0x11E]
  2003. 0000164C  486E FEEC                pea.l      [A6 - 0x114]
  2004. 00001650  486E FEE4                pea.l      [A6 - 0x11C]
  2005. 00001654  4EAD 017A                jsr        [A5 + 0x17A /* export_43 */]
  2006. 00001658  3E1F                     move.w     D7, [A7]+
  2007. 0000165A  4A47                     tst.w      D7
  2008. 0000165C  670C                     beq        +0xE /* 0000166A */
  2009. 0000165E  486E FEF0                pea.l      [A6 - 0x110]
  2010. 00001662  4EBA 255A                jsr        [PC + 0x255A /* 00003BBE */]
  2011. 00001666  7000                     moveq.l    D0, 0x00
  2012. 00001668  6074                     bra        +0x76 /* 000016DE */
  2013. label0000166A:
  2014. 0000166A  3B6E FEE2 E84A           move.w     [A5 - 0x17B6], [A6 - 0x11E]
  2015. 00001670  2B6E FEEC E84C           move.l     [A5 - 0x17B4], [A6 - 0x114]
  2016. 00001676  4267                     clr.w      -[A7]
  2017. 00001678  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  2018. 0000167E  486E FEE8                pea.l      [A6 - 0x118]
  2019. 00001682  4EBA 274A                jsr        [PC + 0x274A /* 00003DCE */]
  2020. 00001686  3E1F                     move.w     D7, [A7]+
  2021. 00001688  4A47                     tst.w      D7
  2022. 0000168A  6704                     beq        +0x6 /* 00001690 */
  2023. 0000168C  7001                     moveq.l    D0, 0x01
  2024. 0000168E  604E                     bra        +0x50 /* 000016DE */
  2025. label00001690:
  2026. 00001690  4227                     clr.b      -[A7]
  2027. 00001692  486E FEE8                pea.l      [A6 - 0x118]
  2028. 00001696  4878 001F                push.l     0x1F
  2029. 0000169A  A85D                     syscall    BitTst
  2030. 0000169C  7000                     moveq.l    D0, 0x00
  2031. 0000169E  101F                     move.b     D0, [A7]+
  2032. 000016A0  4A40                     tst.w      D0
  2033. 000016A2  6604                     bne        +0x6 /* 000016A8 */
  2034. 000016A4  7001                     moveq.l    D0, 0x01
  2035. 000016A6  6036                     bra        +0x38 /* 000016DE */
  2036. label000016A8:
  2037. 000016A8  1B7C 0001 E848           move.b     [A5 - 0x17B8], 0x1
  2038. 000016AE  4267                     clr.w      -[A7]
  2039. 000016B0  3F3C 8000                move.w     -[A7], 0x8000
  2040. 000016B4  2F3C 7072 6566           move.l     -[A7], 0x70726566 /* 'pref' */
  2041. 000016BA  1F3C 0001                move.b     -[A7], 0x1
  2042. 000016BE  486E FEE2                pea.l      [A6 - 0x11E]
  2043. 000016C2  486E FEEC                pea.l      [A6 - 0x114]
  2044. 000016C6  4EAD 0162                jsr        [A5 + 0x162 /* export_40 */]
  2045. 000016CA  3E1F                     move.w     D7, [A7]+
  2046. 000016CC  4A47                     tst.w      D7
  2047. 000016CE  660C                     bne        +0xE /* 000016DC */
  2048. 000016D0  3B6E FEE2 E84A           move.w     [A5 - 0x17B6], [A6 - 0x11E]
  2049. 000016D6  2B6E FEEC E84C           move.l     [A5 - 0x17B4], [A6 - 0x114]
  2050. label000016DC:
  2051. 000016DC  7001                     moveq.l    D0, 0x01
  2052. label000016DE:
  2053. 000016DE  2E2E FDDC                move.l     D7, [A6 - 0x224]
  2054. 000016E2  4E5E                     unlink     A6
  2055. 000016E4  4E75                     rts
  2056. fn000016E6:
  2057. 000016E6  4E56 0000                link       A6, 0
  2058. 000016EA  4A6D E7A6                tst.w      [A5 - 0x185A]
  2059. 000016EE  670C                     beq        +0xE /* 000016FC */
  2060. 000016F0  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  2061. 000016F4  4EBA 000A                jsr        [PC + 0xA /* 00001700 */]
  2062. 000016F8  5340                     subq.w     D0, 1
  2063. 000016FA  548F                     addq.l     A7, 2
  2064. label000016FC:
  2065. 000016FC  4E5E                     unlink     A6
  2066. 000016FE  4E75                     rts
  2067. fn00001700:
  2068. 00001700  4E56 FEFC                link       A6, -0x0104
  2069. 00001704  48E7 0308                movem.l    -[A7], D6,D7,A4
  2070. 00001708  3E2E 0008                move.w     D7, [A6 + 0x8]
  2071. 0000170C  204D                     movea.l    A0, A5
  2072. 0000170E  2007                     move.l     D0, D7
  2073. 00001710  48C0                     ext.l      D0
  2074. 00001712  E588                     lsl        D0, 2
  2075. 00001714  D1C0                     add.l      A0, D0
  2076. 00001716  2F28 E8A6                move.l     -[A7], [A0 - 0x175A]
  2077. 0000171A  4EBA 2512                jsr        [PC + 0x2512 /* 00003C2E */]
  2078. 0000171E  4297                     clr.l      [A7]
  2079. 00001720  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  2080. 00001726  204D                     movea.l    A0, A5
  2081. 00001728  2007                     move.l     D0, D7
  2082. 0000172A  48C0                     ext.l      D0
  2083. 0000172C  E588                     lsl        D0, 2
  2084. 0000172E  D1C0                     add.l      A0, D0
  2085. 00001730  2F28 E8A6                move.l     -[A7], [A0 - 0x175A]
  2086. 00001734  A9A1                     syscall    GetNamedResource
  2087. 00001736  285F                     movea.l    A4, [A7]+
  2088. 00001738  204D                     movea.l    A0, A5
  2089. 0000173A  2007                     move.l     D0, D7
  2090. 0000173C  48C0                     ext.l      D0
  2091. 0000173E  E588                     lsl        D0, 2
  2092. 00001740  D1C0                     add.l      A0, D0
  2093. 00001742  2F28 E8A6                move.l     -[A7], [A0 - 0x175A]
  2094. 00001746  4EBA 2502                jsr        [PC + 0x2502 /* 00003C4A */]
  2095. 0000174A  200C                     move.l     D0, A4
  2096. 0000174C  588F                     addq.l     A7, 4
  2097. 0000174E  672C                     beq        +0x2E /* 0000177C */
  2098. 00001750  2F0C                     move.l     -[A7], A4
  2099. 00001752  486E FEFE                pea.l      [A6 - 0x102]
  2100. 00001756  486E FEFC                pea.l      [A6 - 0x104]
  2101. 0000175A  486E FF00                pea.l      [A6 - 0x100]
  2102. 0000175E  A9A8                     syscall    GetResInfo
  2103. 00001760  204C                     movea.l    A0, A4
  2104. 00001762  A029                     syscall    HLock
  2105. 00001764  4267                     clr.w      -[A7]
  2106. 00001766  42A7                     clr.l      -[A7]
  2107. 00001768  2F0C                     move.l     -[A7], A4
  2108. 0000176A  4227                     clr.b      -[A7]
  2109. 0000176C  A805                     syscall    SndPlay
  2110. 0000176E  3C1F                     move.w     D6, [A7]+
  2111. 00001770  204C                     movea.l    A0, A4
  2112. 00001772  A02A                     syscall    HUnlock
  2113. 00001774  4A46                     tst.w      D6
  2114. 00001776  6604                     bne        +0x6 /* 0000177C */
  2115. 00001778  7001                     moveq.l    D0, 0x01
  2116. 0000177A  6002                     bra        +0x4 /* 0000177E */
  2117. label0000177C:
  2118. 0000177C  7000                     moveq.l    D0, 0x00
  2119. label0000177E:
  2120. 0000177E  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2121. 00001782  4E5E                     unlink     A6
  2122. 00001784  4E75                     rts
  2123. fn00001786:
  2124. 00001786  4E56 FEF4                link       A6, -0x010C
  2125. 0000178A  48E7 0108                movem.l    -[A7], D7,A4
  2126. 0000178E  486D F606                pea.l      [A5 - 0x9FA]
  2127. 00001792  486D E634                pea.l      [A5 - 0x19CC]
  2128. 00001796  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  2129. 0000179A  4297                     clr.l      [A7]
  2130. 0000179C  A975                     syscall    TickCount
  2131. 0000179E  2B5F F956                move.l     [A5 - 0x6AA], [A7]+
  2132. 000017A2  0C6D 0002 E67E           cmpi.w     [A5 - 0x1982], 0x2
  2133. 000017A8  588F                     addq.l     A7, 4
  2134. 000017AA  662A                     bne        +0x2C /* 000017D6 */
  2135. 000017AC  70FF                     moveq.l    D0, 0xFFFFFFFF
  2136. 000017AE  D06D F602                add.w      D0, [A5 - 0x9FE]
  2137. 000017B2  3F00                     move.w     -[A7], D0
  2138. 000017B4  4EBA 0108                jsr        [PC + 0x108 /* 000018BE */]
  2139. 000017B8  3E00                     move.w     D7, D0
  2140. 000017BA  7011                     moveq.l    D0, 0x11
  2141. 000017BC  C1C7                     muls.w     D0, D7
  2142. 000017BE  204D                     movea.l    A0, A5
  2143. 000017C0  D1C0                     add.l      A0, D0
  2144. 000017C2  4868 E8BA                pea.l      [A0 - 0x1746]
  2145. 000017C6  486D E634                pea.l      [A5 - 0x19CC]
  2146. 000017CA  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  2147. 000017CE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2148. 000017D2  6000 008C                bra        +0x8E /* 00001860 */
  2149. label000017D6:
  2150. 000017D6  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  2151. 000017DA  3F2D E67E                move.w     -[A7], [A5 - 0x1982]
  2152. 000017DE  486E FEF4                pea.l      [A6 - 0x10C]
  2153. 000017E2  A946                     syscall    GetMenuItemText/GetItem
  2154. 000017E4  42A7                     clr.l      -[A7]
  2155. 000017E6  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  2156. 000017EC  486E FEF4                pea.l      [A6 - 0x10C]
  2157. 000017F0  A9A1                     syscall    GetNamedResource
  2158. 000017F2  285F                     movea.l    A4, [A7]+
  2159. 000017F4  200C                     move.l     D0, A4
  2160. 000017F6  6768                     beq        +0x6A /* 00001860 */
  2161. 000017F8  204C                     movea.l    A0, A4
  2162. 000017FA  A029                     syscall    HLock
  2163. 000017FC  2F0C                     move.l     -[A7], A4
  2164. 000017FE  486E FFFC                pea.l      [A6 - 0x4]
  2165. 00001802  486E FFF8                pea.l      [A6 - 0x8]
  2166. 00001806  486E FEF4                pea.l      [A6 - 0x10C]
  2167. 0000180A  A9A8                     syscall    GetResInfo
  2168. 0000180C  2054                     movea.l    A0, [A4]
  2169. 0000180E  3E10                     move.w     D7, [A0]
  2170. 00001810  486E FEF4                pea.l      [A6 - 0x10C]
  2171. 00001814  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2172. 00001818  70FF                     moveq.l    D0, 0xFFFFFFFF
  2173. 0000181A  D047                     add.w      D0, D7
  2174. 0000181C  3F00                     move.w     -[A7], D0
  2175. 0000181E  4EBA 009E                jsr        [PC + 0x9E /* 000018BE */]
  2176. 00001822  5240                     addq.w     D0, 1
  2177. 00001824  3E80                     move.w     [A7], D0
  2178. 00001826  4EBA 2962                jsr        [PC + 0x2962 /* 0000418A */]
  2179. 0000182A  204C                     movea.l    A0, A4
  2180. 0000182C  A02A                     syscall    HUnlock
  2181. 0000182E  486E FEF4                pea.l      [A6 - 0x10C]
  2182. 00001832  4EBA 2416                jsr        [PC + 0x2416 /* 00003C4A */]
  2183. 00001836  486E FEF4                pea.l      [A6 - 0x10C]
  2184. 0000183A  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  2185. 0000183E  4A80                     tst.l      D0
  2186. 00001840  508F                     addq.l     A7, 8
  2187. 00001842  671C                     beq        +0x1E /* 00001860 */
  2188. 00001844  486E FEF4                pea.l      [A6 - 0x10C]
  2189. 00001848  4EBA 1D82                jsr        [PC + 0x1D82 /* 000035CC */]
  2190. 0000184C  5340                     subq.w     D0, 1
  2191. 0000184E  588F                     addq.l     A7, 4
  2192. 00001850  660E                     bne        +0x10 /* 00001860 */
  2193. 00001852  486E FEF4                pea.l      [A6 - 0x10C]
  2194. 00001856  486D E634                pea.l      [A5 - 0x19CC]
  2195. 0000185A  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  2196. 0000185E  508F                     addq.l     A7, 8
  2197. label00001860:
  2198. 00001860  486D E634                pea.l      [A5 - 0x19CC]
  2199. 00001864  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  2200. 00001868  3B40 E646                move.w     [A5 - 0x19BA], D0
  2201. 0000186C  486D E634                pea.l      [A5 - 0x19CC]
  2202. 00001870  4EBA 0010                jsr        [PC + 0x10 /* 00001882 */]
  2203. 00001874  4EBA 075E                jsr        [PC + 0x75E /* 00001FD4 */]
  2204. 00001878  4CEE 1080 FEEC           movem.l    D7,A4, [A6 - 0x114]
  2205. 0000187E  4E5E                     unlink     A6
  2206. 00001880  4E75                     rts
  2207. fn00001882:
  2208. 00001882  4E56 0000                link       A6, 0
  2209. 00001886  2F07                     move.l     -[A7], D7
  2210. 00001888  7E00                     moveq.l    D7, 0x00
  2211. label0000188A:
  2212. 0000188A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2213. 0000188E  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  2214. 00001892  3047                     movea.w    A0, D7
  2215. 00001894  B088                     cmp.l      D0, A0
  2216. 00001896  588F                     addq.l     A7, 4
  2217. 00001898  631E                     bls        +0x20 /* 000018B8 */
  2218. 0000189A  206E 0008                movea.l    A0, [A6 + 0x8]
  2219. 0000189E  1030 7000                move.b     D0, [A0 + D7.w]
  2220. 000018A2  4880                     ext.w      D0
  2221. 000018A4  3F00                     move.w     -[A7], D0
  2222. 000018A6  4EAD 012A                jsr        [A5 + 0x12A /* export_33 */]
  2223. 000018AA  206E 0008                movea.l    A0, [A6 + 0x8]
  2224. 000018AE  1180 7000                move.b     [A0 + D7.w], D0
  2225. 000018B2  548F                     addq.l     A7, 2
  2226. 000018B4  5247                     addq.w     D7, 1
  2227. 000018B6  60D2                     bra        -0x2C /* 0000188A */
  2228. label000018B8:
  2229. 000018B8  2E1F                     move.l     D7, [A7]+
  2230. 000018BA  4E5E                     unlink     A6
  2231. 000018BC  4E75                     rts
  2232. fn000018BE:
  2233. 000018BE  4E56 FFE6                link       A6, -0x001A
  2234. 000018C2  2F06                     move.l     -[A7], D6
  2235. 000018C4  486E FFE8                pea.l      [A6 - 0x18]
  2236. 000018C8  4EBA 0066                jsr        [PC + 0x66 /* 00001930 */]
  2237. 000018CC  7001                     moveq.l    D0, 0x01
  2238. 000018CE  D06E 0008                add.w      D0, [A6 + 0x8]
  2239. 000018D2  3D40 FFE6                move.w     [A6 - 0x1A], D0
  2240. 000018D6  486E FFE6                pea.l      [A6 - 0x1A]
  2241. 000018DA  486E FFEA                pea.l      [A6 - 0x16]
  2242. 000018DE  3F3C 2004                move.w     -[A7], 0x2004
  2243. 000018E2  A9EB                     syscall    Pack4/FP68K
  2244. 000018E4  41D6                     lea.l      A0, [A6]
  2245. 000018E6  43EE FFF4                lea.l      A1, [A6 - 0xC]
  2246. 000018EA  2121                     move.l     -[A0], -[A1]
  2247. 000018EC  2121                     move.l     -[A0], -[A1]
  2248. 000018EE  3121                     move.w     -[A0], -[A1]
  2249. 000018F0  3110                     move.w     -[A0], [A0]
  2250. 000018F2  41EE FFE8                lea.l      A0, [A6 - 0x18]
  2251. 000018F6  43EE FFF6                lea.l      A1, [A6 - 0xA]
  2252. 000018FA  20D9                     move.l     [A0]+, [A1]+
  2253. 000018FC  20D9                     move.l     [A0]+, [A1]+
  2254. 000018FE  30D9                     move.w     [A0]+, [A1]+
  2255. 00001900  4868 FFF6                pea.l      [A0 - 0xA]
  2256. 00001904  3F3C 0016                move.w     -[A7], 0x16
  2257. 00001908  A9EB                     syscall    Pack4/FP68K
  2258. 0000190A  4868 FFF6                pea.l      [A0 - 0xA]
  2259. 0000190E  486E FFF2                pea.l      [A6 - 0xE]
  2260. 00001912  3F3C 2010                move.w     -[A7], 0x2010
  2261. 00001916  A9EB                     syscall    Pack4/FP68K
  2262. 00001918  3C2E FFF2                move.w     D6, [A6 - 0xE]
  2263. 0000191C  BC6E 0008                cmp.w      D6, [A6 + 0x8]
  2264. 00001920  588F                     addq.l     A7, 4
  2265. 00001922  6F04                     ble        +0x6 /* 00001928 */
  2266. 00001924  3C2E 0008                move.w     D6, [A6 + 0x8]
  2267. label00001928:
  2268. 00001928  3006                     move.w     D0, D6
  2269. 0000192A  2C1F                     move.l     D6, [A7]+
  2270. 0000192C  4E5E                     unlink     A6
  2271. 0000192E  4E75                     rts
  2272. fn00001930:
  2273. 00001930  4E56 FFF4                link       A6, -0x000C
  2274. 00001934  2F07                     move.l     -[A7], D7
  2275. 00001936  4267                     clr.w      -[A7]
  2276. 00001938  A861                     syscall    Random
  2277. 0000193A  3E1F                     move.w     D7, [A7]+
  2278. 0000193C  4A47                     tst.w      D7
  2279. 0000193E  6C02                     bge        +0x4 /* 00001942 */
  2280. 00001940  4447                     neg.w      D7
  2281. label00001942:
  2282. 00001942  3D47 FFF4                move.w     [A6 - 0xC], D7
  2283. 00001946  486E FFF4                pea.l      [A6 - 0xC]
  2284. 0000194A  486E FFF6                pea.l      [A6 - 0xA]
  2285. 0000194E  3F3C 200E                move.w     -[A7], 0x200E
  2286. 00001952  A9EB                     syscall    Pack4/FP68K
  2287. 00001954  487A 0024                pea.l      [PC + 0x24 /* 0000197A, value 0x7FFF4E56 */]
  2288. 00001958  486E FFF6                pea.l      [A6 - 0xA]
  2289. 0000195C  3F3C 2006                move.w     -[A7], 0x2006
  2290. 00001960  A9EB                     syscall    Pack4/FP68K
  2291. 00001962  206E 0008                movea.l    A0, [A6 + 0x8]
  2292. 00001966  41E8 000C                lea.l      A0, [A0 + 0xC]
  2293. 0000196A  43D6                     lea.l      A1, [A6]
  2294. 0000196C  2121                     move.l     -[A0], -[A1]
  2295. 0000196E  2121                     move.l     -[A0], -[A1]
  2296. 00001970  3121                     move.w     -[A0], -[A1]
  2297. 00001972  3110                     move.w     -[A0], [A0]
  2298. 00001974  2E1F                     move.l     D7, [A7]+
  2299. 00001976  4E5E                     unlink     A6
  2300. 00001978  4E75                     rts
  2301. 0000197A  7FFF                     moveq.l    D7, 0xFFFFFFFF
  2302. fn0000197C:
  2303. 0000197C  4E56 FFAE                link       A6, -0x0052
  2304. 00001980  42AE FFBC                clr.l      [A6 - 0x44]
  2305. 00001984  3D6E 0008 FFC6           move.w     [A6 - 0x3A], [A6 + 0x8]
  2306. 0000198A  2D6E 000A FFC2           move.l     [A6 - 0x3E], [A6 + 0xA]
  2307. 00001990  422E FFCF                clr.b      [A6 - 0x31]
  2308. 00001994  426E FFCC                clr.w      [A6 - 0x34]
  2309. 00001998  4267                     clr.w      -[A7]
  2310. 0000199A  486E FFB0                pea.l      [A6 - 0x50]
  2311. 0000199E  4227                     clr.b      -[A7]
  2312. 000019A0  4EBA 264E                jsr        [PC + 0x264E /* 00003FF0 */]
  2313. 000019A4  3D5F FFAE                move.w     [A6 - 0x52], [A7]+
  2314. 000019A8  6704                     beq        +0x6 /* 000019AE */
  2315. 000019AA  7000                     moveq.l    D0, 0x00
  2316. 000019AC  6004                     bra        +0x6 /* 000019B2 */
  2317. label000019AE:
  2318. 000019AE  202E FFE6                move.l     D0, [A6 - 0x1A]
  2319. label000019B2:
  2320. 000019B2  4E5E                     unlink     A6
  2321. 000019B4  4E75                     rts
  2322. fn000019B6:
  2323. 000019B6  4E56 FFAE                link       A6, -0x0052
  2324. 000019BA  42AE FFBC                clr.l      [A6 - 0x44]
  2325. 000019BE  3D6E 0008 FFC6           move.w     [A6 - 0x3A], [A6 + 0x8]
  2326. 000019C4  2D6E 000A FFC2           move.l     [A6 - 0x3E], [A6 + 0xA]
  2327. 000019CA  422E FFCF                clr.b      [A6 - 0x31]
  2328. 000019CE  426E FFCC                clr.w      [A6 - 0x34]
  2329. 000019D2  4267                     clr.w      -[A7]
  2330. 000019D4  486E FFB0                pea.l      [A6 - 0x50]
  2331. 000019D8  4227                     clr.b      -[A7]
  2332. 000019DA  4EBA 2614                jsr        [PC + 0x2614 /* 00003FF0 */]
  2333. 000019DE  3D5F FFAE                move.w     [A6 - 0x52], [A7]+
  2334. 000019E2  6704                     beq        +0x6 /* 000019E8 */
  2335. 000019E4  7000                     moveq.l    D0, 0x00
  2336. 000019E6  6012                     bra        +0x14 /* 000019FA */
  2337. label000019E8:
  2338. 000019E8  206E 0012                movea.l    A0, [A6 + 0x12]
  2339. 000019EC  20AE FFD0                move.l     [A0], [A6 - 0x30]
  2340. 000019F0  226E 000E                movea.l    A1, [A6 + 0xE]
  2341. 000019F4  22AE FFD4                move.l     [A1], [A6 - 0x2C]
  2342. 000019F8  7001                     moveq.l    D0, 0x01
  2343. label000019FA:
  2344. 000019FA  4E5E                     unlink     A6
  2345. 000019FC  4E75                     rts
  2346. fn000019FE:
  2347. 000019FE  4E56 FEF2                link       A6, -0x010E
  2348. 00001A02  48E7 1F08                movem.l    -[A7], D3,D4,D5,D6,D7,A4
  2349. 00001A06  7600                     moveq.l    D3, 0x00
  2350. 00001A08  4EBA 1634                jsr        [PC + 0x1634 /* 0000303E */]
  2351. 00001A0C  486E FEF6                pea.l      [A6 - 0x10A]
  2352. 00001A10  486E FEFA                pea.l      [A6 - 0x106]
  2353. 00001A14  486D F60E                pea.l      [A5 - 0x9F2]
  2354. 00001A18  4267                     clr.w      -[A7]
  2355. 00001A1A  4EBA FF9A                jsr        [PC - 0x66 /* 000019B6 */]
  2356. 00001A1E  4A40                     tst.w      D0
  2357. 00001A20  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2358. 00001A24  6606                     bne        +0x8 /* 00001A2C */
  2359. 00001A26  7000                     moveq.l    D0, 0x00
  2360. 00001A28  6000 0116                bra        +0x118 /* 00001B40 */
  2361. label00001A2C:
  2362. 00001A2C  0CAE 5445 5854 FEF6      cmpi.l     [A6 - 0x10A], 0x54455854 /* 'TEXT' */
  2363. 00001A34  6706                     beq        +0x8 /* 00001A3C */
  2364. 00001A36  7000                     moveq.l    D0, 0x00
  2365. 00001A38  6000 0106                bra        +0x108 /* 00001B40 */
  2366. label00001A3C:
  2367. 00001A3C  486D F618                pea.l      [A5 - 0x9E8]
  2368. 00001A40  4267                     clr.w      -[A7]
  2369. 00001A42  4EBA FF38                jsr        [PC - 0xC8 /* 0000197C */]
  2370. 00001A46  2D40 FEF2                move.l     [A6 - 0x10E], D0
  2371. 00001A4A  5C8F                     addq.l     A7, 6
  2372. 00001A4C  6606                     bne        +0x8 /* 00001A54 */
  2373. 00001A4E  7000                     moveq.l    D0, 0x00
  2374. 00001A50  6000 00EE                bra        +0xF0 /* 00001B40 */
  2375. label00001A54:
  2376. 00001A54  202E FEF2                move.l     D0, [A6 - 0x10E]
  2377. 00001A58  A11E                     syscall    NewPtr, flags=1
  2378. 00001A5A  2848                     movea.l    A4, A0
  2379. 00001A5C  200C                     move.l     D0, A4
  2380. 00001A5E  6606                     bne        +0x8 /* 00001A66 */
  2381. 00001A60  7000                     moveq.l    D0, 0x00
  2382. 00001A62  6000 00DC                bra        +0xDE /* 00001B40 */
  2383. label00001A66:
  2384. 00001A66  4267                     clr.w      -[A7]
  2385. 00001A68  486D F622                pea.l      [A5 - 0x9DE]
  2386. 00001A6C  4267                     clr.w      -[A7]
  2387. 00001A6E  486E FFFE                pea.l      [A6 - 0x2]
  2388. 00001A72  4EBA 258E                jsr        [PC + 0x258E /* 00004002 */]
  2389. 00001A76  4A5F                     tst.w      [A7]+
  2390. 00001A78  6706                     beq        +0x8 /* 00001A80 */
  2391. 00001A7A  7000                     moveq.l    D0, 0x00
  2392. 00001A7C  6000 00C2                bra        +0xC4 /* 00001B40 */
  2393. label00001A80:
  2394. 00001A80  4267                     clr.w      -[A7]
  2395. 00001A82  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  2396. 00001A86  3F3C 0001                move.w     -[A7], 0x1
  2397. 00001A8A  42A7                     clr.l      -[A7]
  2398. 00001A8C  4EBA 2678                jsr        [PC + 0x2678 /* 00004106 */]
  2399. 00001A90  4257                     clr.w      [A7]
  2400. 00001A92  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  2401. 00001A96  486E FEF2                pea.l      [A6 - 0x10E]
  2402. 00001A9A  2F0C                     move.l     -[A7], A4
  2403. 00001A9C  4EBA 25BE                jsr        [PC + 0x25BE /* 0000405C */]
  2404. 00001AA0  381F                     move.w     D4, [A7]+
  2405. 00001AA2  4267                     clr.w      -[A7]
  2406. 00001AA4  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  2407. 00001AA8  4EBA 2598                jsr        [PC + 0x2598 /* 00004042 */]
  2408. 00001AAC  7A00                     moveq.l    D5, 0x00
  2409. 00001AAE  7E00                     moveq.l    D7, 0x00
  2410. 00001AB0  548F                     addq.l     A7, 2
  2411. 00001AB2  6066                     bra        +0x68 /* 00001B1A */
  2412. label00001AB4:
  2413. 00001AB4  422E FEFE                clr.b      [A6 - 0x102]
  2414. 00001AB8  7C00                     moveq.l    D6, 0x00
  2415. 00001ABA  602E                     bra        +0x30 /* 00001AEA */
  2416. label00001ABC:
  2417. 00001ABC  204E                     movea.l    A0, A6
  2418. 00001ABE  D0C6                     add.w      A0, D6
  2419. 00001AC0  1174 3000 FEFE           move.b     [A0 - 0x102], [A4 + D3.w]
  2420. 00001AC6  204E                     movea.l    A0, A6
  2421. 00001AC8  D0C6                     add.w      A0, D6
  2422. 00001ACA  4228 FEFF                clr.b      [A0 - 0x101]
  2423. 00001ACE  204E                     movea.l    A0, A6
  2424. 00001AD0  D0C6                     add.w      A0, D6
  2425. 00001AD2  0C28 000D FEFE           cmpi.b     [A0 - 0x102], 0xD /* '\r' */
  2426. 00001AD8  660C                     bne        +0xE /* 00001AE6 */
  2427. 00001ADA  204E                     movea.l    A0, A6
  2428. 00001ADC  D0C6                     add.w      A0, D6
  2429. 00001ADE  4228 FEFE                clr.b      [A0 - 0x102]
  2430. 00001AE2  5283                     addq.l     D3, 1
  2431. 00001AE4  600A                     bra        +0xC /* 00001AF0 */
  2432. label00001AE6:
  2433. 00001AE6  5283                     addq.l     D3, 1
  2434. 00001AE8  5246                     addq.w     D6, 1
  2435. label00001AEA:
  2436. 00001AEA  B6AE FEF2                cmp.l      D3, [A6 - 0x10E]
  2437. 00001AEE  6DCC                     blt        -0x32 /* 00001ABC */
  2438. label00001AF0:
  2439. 00001AF0  486E FEFE                pea.l      [A6 - 0x102]
  2440. 00001AF4  4EBA 1AD6                jsr        [PC + 0x1AD6 /* 000035CC */]
  2441. 00001AF8  4A40                     tst.w      D0
  2442. 00001AFA  588F                     addq.l     A7, 4
  2443. 00001AFC  671A                     beq        +0x1C /* 00001B18 */
  2444. 00001AFE  486E FEFE                pea.l      [A6 - 0x102]
  2445. 00001B02  3005                     move.w     D0, D5
  2446. 00001B04  5245                     addq.w     D5, 1
  2447. 00001B06  C1FC 0011                muls.w     D0, 0x11
  2448. 00001B0A  204D                     movea.l    A0, A5
  2449. 00001B0C  D1C0                     add.l      A0, D0
  2450. 00001B0E  4868 E8BA                pea.l      [A0 - 0x1746]
  2451. 00001B12  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  2452. 00001B16  508F                     addq.l     A7, 8
  2453. label00001B18:
  2454. 00001B18  5247                     addq.w     D7, 1
  2455. label00001B1A:
  2456. 00001B1A  0C47 00C8                cmpi.w     D7, 0xC8
  2457. 00001B1E  6D94                     blt        -0x6A /* 00001AB4 */
  2458. 00001B20  204C                     movea.l    A0, A4
  2459. 00001B22  A01F                     syscall    DisposPtr/DisposePtr
  2460. 00001B24  4A45                     tst.w      D5
  2461. 00001B26  6F16                     ble        +0x18 /* 00001B3E */
  2462. 00001B28  3B45 F602                move.w     [A5 - 0x9FE], D5
  2463. 00001B2C  3B7C 0001 F604           move.w     [A5 - 0x9FC], 0x1
  2464. 00001B32  4EBA 1518                jsr        [PC + 0x1518 /* 0000304C */]
  2465. 00001B36  4EBA 1522                jsr        [PC + 0x1522 /* 0000305A */]
  2466. 00001B3A  7001                     moveq.l    D0, 0x01
  2467. 00001B3C  6002                     bra        +0x4 /* 00001B40 */
  2468. label00001B3E:
  2469. 00001B3E  7000                     moveq.l    D0, 0x00
  2470. label00001B40:
  2471. 00001B40  4CDF 10F8                movem.l    D3,D4,D5,D6,D7,A4, [A7]+
  2472. 00001B44  4E5E                     unlink     A6
  2473. 00001B46  4E75                     rts
  2474. fn00001B48:
  2475. 00001B48  2F07                     move.l     -[A7], D7
  2476. 00001B4A  426D E646                clr.w      [A5 - 0x19BA]
  2477. 00001B4E  7E00                     moveq.l    D7, 0x00
  2478. 00001B50  600C                     bra        +0xE /* 00001B5E */
  2479. label00001B52:
  2480. 00001B52  204D                     movea.l    A0, A5
  2481. 00001B54  D0C7                     add.w      A0, D7
  2482. 00001B56  D0C7                     add.w      A0, D7
  2483. 00001B58  4268 E648                clr.w      [A0 - 0x19B8]
  2484. 00001B5C  5247                     addq.w     D7, 1
  2485. label00001B5E:
  2486. 00001B5E  0C47 001A                cmpi.w     D7, 0x1A
  2487. 00001B62  6DEE                     blt        -0x10 /* 00001B52 */
  2488. 00001B64  422D E634                clr.b      [A5 - 0x19CC]
  2489. 00001B68  302D E7A8                move.w     D0, [A5 - 0x1858]
  2490. 00001B6C  3B40 E680                move.w     [A5 - 0x1980], D0
  2491. 00001B70  3B40 E67C                move.w     [A5 - 0x1984], D0
  2492. 00001B74  4EBA 084C                jsr        [PC + 0x84C /* 000023C2 */]
  2493. 00001B78  2E1F                     move.l     D7, [A7]+
  2494. 00001B7A  4E75                     rts
  2495. fn00001B7C:
  2496. 00001B7C  4E56 FFF4                link       A6, -0x000C
  2497. 00001B80  486E FFFC                pea.l      [A6 - 0x4]
  2498. 00001B84  A874                     syscall    GetPort
  2499. 00001B86  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2500. 00001B8A  A873                     syscall    SetPort
  2501. 00001B8C  2D6D E69A FFF4           move.l     [A6 - 0xC], [A5 - 0x1966]
  2502. 00001B92  2D6D E69E FFF8           move.l     [A6 - 0x8], [A5 - 0x1962]
  2503. 00001B98  066E 0023 FFF4           addi.w     [A6 - 0xC], 0x23 /* '#' */
  2504. 00001B9E  4878 00CD                push.l     0xCD
  2505. 00001BA2  A862                     syscall    ForeColor
  2506. 00001BA4  486E FFF4                pea.l      [A6 - 0xC]
  2507. 00001BA8  486D F9B4                pea.l      [A5 - 0x64C]
  2508. 00001BAC  A8A5                     syscall    FillRect
  2509. 00001BAE  4878 0021                push.l     0x21 /* '!' */
  2510. 00001BB2  A862                     syscall    ForeColor
  2511. 00001BB4  2F3C 0002 0002           move.l     -[A7], 0x20002
  2512. 00001BBA  A89B                     syscall    PenSize
  2513. 00001BBC  486D E69A                pea.l      [A5 - 0x1966]
  2514. 00001BC0  A8A1                     syscall    FrameRect
  2515. 00001BC2  2F3C 00E9 0000           move.l     -[A7], 0xE90000
  2516. 00001BC8  A893                     syscall    MoveTo
  2517. 00001BCA  2F3C 00E9 01D1           move.l     -[A7], 0xE901D1
  2518. 00001BD0  A891                     syscall    LineTo
  2519. 00001BD2  A89E                     syscall    PenNormal
  2520. 00001BD4  4EBA 0018                jsr        [PC + 0x18 /* 00001BEE */]
  2521. 00001BD8  4EBA 0030                jsr        [PC + 0x30 /* 00001C0A */]
  2522. 00001BDC  4EBA 021C                jsr        [PC + 0x21C /* 00001DFA */]
  2523. 00001BE0  4EBA 134A                jsr        [PC + 0x134A /* 00002F2C */]
  2524. 00001BE4  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2525. 00001BE8  A873                     syscall    SetPort
  2526. 00001BEA  4E5E                     unlink     A6
  2527. 00001BEC  4E75                     rts
  2528. fn00001BEE:
  2529. 00001BEE  2F07                     move.l     -[A7], D7
  2530. 00001BF0  7E00                     moveq.l    D7, 0x00
  2531. 00001BF2  600C                     bra        +0xE /* 00001C00 */
  2532. label00001BF4:
  2533. 00001BF4  4267                     clr.w      -[A7]
  2534. 00001BF6  3F07                     move.w     -[A7], D7
  2535. 00001BF8  4EBA 0DA4                jsr        [PC + 0xDA4 /* 0000299E */]
  2536. 00001BFC  588F                     addq.l     A7, 4
  2537. 00001BFE  5247                     addq.w     D7, 1
  2538. label00001C00:
  2539. 00001C00  0C47 001A                cmpi.w     D7, 0x1A
  2540. 00001C04  6DEE                     blt        -0x10 /* 00001BF4 */
  2541. 00001C06  2E1F                     move.l     D7, [A7]+
  2542. 00001C08  4E75                     rts
  2543. fn00001C0A:
  2544. 00001C0A  4E56 FEEA                link       A6, -0x0116
  2545. 00001C0E  48E7 1F00                movem.l    -[A7], D3,D4,D5,D6,D7
  2546. 00001C12  7600                     moveq.l    D3, 0x00
  2547. 00001C14  486E FFFC                pea.l      [A6 - 0x4]
  2548. 00001C18  A874                     syscall    GetPort
  2549. 00001C1A  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2550. 00001C1E  A873                     syscall    SetPort
  2551. 00001C20  486D E68A                pea.l      [A5 - 0x1976]
  2552. 00001C24  A8A3                     syscall    EraseRect
  2553. 00001C26  486D E68A                pea.l      [A5 - 0x1976]
  2554. 00001C2A  A8A1                     syscall    FrameRect
  2555. 00001C2C  3A2D E680                move.w     D5, [A5 - 0x1980]
  2556. 00001C30  3E2D E690                move.w     D7, [A5 - 0x1970]
  2557. 00001C34  9E6D E68C                sub.w      D7, [A5 - 0x1974]
  2558. 00001C38  7001                     moveq.l    D0, 0x01
  2559. 00001C3A  D045                     add.w      D0, D5
  2560. 00001C3C  2C07                     move.l     D6, D7
  2561. 00001C3E  48C6                     ext.l      D6
  2562. 00001C40  8DC0                     divs.w     D6, D0
  2563. 00001C42  5946                     subq.w     D6, 4
  2564. 00001C44  486E FEF4                pea.l      [A6 - 0x10C]
  2565. 00001C48  42A7                     clr.l      -[A7]
  2566. 00001C4A  3F06                     move.w     -[A7], D6
  2567. 00001C4C  302D E68E                move.w     D0, [A5 - 0x1972]
  2568. 00001C50  906D E68A                sub.w      D0, [A5 - 0x1976]
  2569. 00001C54  5940                     subq.w     D0, 4
  2570. 00001C56  3F00                     move.w     -[A7], D0
  2571. 00001C58  A8A7                     syscall    SetRect
  2572. 00001C5A  7004                     moveq.l    D0, 0x04
  2573. 00001C5C  D046                     add.w      D0, D6
  2574. 00001C5E  C1C5                     muls.w     D0, D5
  2575. 00001C60  7204                     moveq.l    D1, 0x04
  2576. 00001C62  D247                     add.w      D1, D7
  2577. 00001C64  9240                     sub.w      D1, D0
  2578. 00001C66  48C1                     ext.l      D1
  2579. 00001C68  83FC 0002                divs.w     D1, 0x2
  2580. 00001C6C  3D41 FEEA                move.w     [A6 - 0x116], D1
  2581. 00001C70  7800                     moveq.l    D4, 0x00
  2582. 00001C72  6072                     bra        +0x74 /* 00001CE6 */
  2583. label00001C74:
  2584. 00001C74  2D6E FEF4 FEEC           move.l     [A6 - 0x114], [A6 - 0x10C]
  2585. 00001C7A  2D6E FEF8 FEF0           move.l     [A6 - 0x110], [A6 - 0x108]
  2586. 00001C80  486E FEEC                pea.l      [A6 - 0x114]
  2587. 00001C84  302D E68C                move.w     D0, [A5 - 0x1974]
  2588. 00001C88  D06E FEEA                add.w      D0, [A6 - 0x116]
  2589. 00001C8C  7204                     moveq.l    D1, 0x04
  2590. 00001C8E  D246                     add.w      D1, D6
  2591. 00001C90  C3C4                     muls.w     D1, D4
  2592. 00001C92  D041                     add.w      D0, D1
  2593. 00001C94  3F00                     move.w     -[A7], D0
  2594. 00001C96  7002                     moveq.l    D0, 0x02
  2595. 00001C98  D06D E68A                add.w      D0, [A5 - 0x1976]
  2596. 00001C9C  3F00                     move.w     -[A7], D0
  2597. 00001C9E  A8A8                     syscall    OffsetRect
  2598. 00001CA0  5243                     addq.w     D3, 1
  2599. 00001CA2  0C43 0008                cmpi.w     D3, 0x8
  2600. 00001CA6  6602                     bne        +0x4 /* 00001CAA */
  2601. 00001CA8  7600                     moveq.l    D3, 0x00
  2602. label00001CAA:
  2603. 00001CAA  204D                     movea.l    A0, A5
  2604. 00001CAC  2003                     move.l     D0, D3
  2605. 00001CAE  48C0                     ext.l      D0
  2606. 00001CB0  E588                     lsl        D0, 2
  2607. 00001CB2  D1C0                     add.l      A0, D0
  2608. 00001CB4  701E                     moveq.l    D0, 0x1E
  2609. 00001CB6  B0A8 E60A                cmp.l      D0, [A0 - 0x19F6]
  2610. 00001CBA  6602                     bne        +0x4 /* 00001CBE */
  2611. 00001CBC  5243                     addq.w     D3, 1
  2612. label00001CBE:
  2613. 00001CBE  204D                     movea.l    A0, A5
  2614. 00001CC0  2003                     move.l     D0, D3
  2615. 00001CC2  48C0                     ext.l      D0
  2616. 00001CC4  E588                     lsl        D0, 2
  2617. 00001CC6  D1C0                     add.l      A0, D0
  2618. 00001CC8  2F28 E60A                move.l     -[A7], [A0 - 0x19F6]
  2619. 00001CCC  A862                     syscall    ForeColor
  2620. 00001CCE  486E FEEC                pea.l      [A6 - 0x114]
  2621. 00001CD2  486D F9AC                pea.l      [A5 - 0x654]
  2622. 00001CD6  A8A5                     syscall    FillRect
  2623. 00001CD8  4878 0021                push.l     0x21 /* '!' */
  2624. 00001CDC  A862                     syscall    ForeColor
  2625. 00001CDE  486E FEEC                pea.l      [A6 - 0x114]
  2626. 00001CE2  A8A1                     syscall    FrameRect
  2627. 00001CE4  5244                     addq.w     D4, 1
  2628. label00001CE6:
  2629. 00001CE6  B86D E67C                cmp.w      D4, [A5 - 0x1984]
  2630. 00001CEA  6D88                     blt        -0x76 /* 00001C74 */
  2631. 00001CEC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2632. 00001CF0  A873                     syscall    SetPort
  2633. 00001CF2  4CDF 00F8                movem.l    D3,D4,D5,D6,D7, [A7]+
  2634. 00001CF6  4E5E                     unlink     A6
  2635. 00001CF8  4E75                     rts
  2636. fn00001CFA:
  2637. 00001CFA  4E56 0000                link       A6, 0
  2638. 00001CFE  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  2639. 00001D02  7A00                     moveq.l    D5, 0x00
  2640. 00001D04  7C00                     moveq.l    D6, 0x00
  2641. 00001D06  7E00                     moveq.l    D7, 0x00
  2642. 00001D08  6022                     bra        +0x24 /* 00001D2C */
  2643. label00001D0A:
  2644. 00001D0A  204D                     movea.l    A0, A5
  2645. 00001D0C  D0C7                     add.w      A0, D7
  2646. 00001D0E  1828 E634                move.b     D4, [A0 - 0x19CC]
  2647. 00001D12  4884                     ext.w      D4
  2648. 00001D14  0644 FFBF                addi.w     D4, 0xFFBF
  2649. 00001D18  B86E 0008                cmp.w      D4, [A6 + 0x8]
  2650. 00001D1C  660C                     bne        +0xE /* 00001D2A */
  2651. 00001D1E  7C01                     moveq.l    D6, 0x01
  2652. 00001D20  4267                     clr.w      -[A7]
  2653. 00001D22  4EBA F9C2                jsr        [PC - 0x63E /* 000016E6 */]
  2654. 00001D26  548F                     addq.l     A7, 2
  2655. 00001D28  6008                     bra        +0xA /* 00001D32 */
  2656. label00001D2A:
  2657. 00001D2A  5247                     addq.w     D7, 1
  2658. label00001D2C:
  2659. 00001D2C  BE6D E646                cmp.w      D7, [A5 - 0x19BA]
  2660. 00001D30  6DD8                     blt        -0x26 /* 00001D0A */
  2661. label00001D32:
  2662. 00001D32  4A46                     tst.w      D6
  2663. 00001D34  661A                     bne        +0x1C /* 00001D50 */
  2664. 00001D36  3F3C 0001                move.w     -[A7], 0x1
  2665. 00001D3A  4EBA F9AA                jsr        [PC - 0x656 /* 000016E6 */]
  2666. 00001D3E  536D E67C                subq.w     [A5 - 0x1984], 1
  2667. 00001D42  4EBA 0198                jsr        [PC + 0x198 /* 00001EDC */]
  2668. 00001D46  4EBA FEC2                jsr        [PC - 0x13E /* 00001C0A */]
  2669. 00001D4A  4EBA 0568                jsr        [PC + 0x568 /* 000022B4 */]
  2670. 00001D4E  548F                     addq.l     A7, 2
  2671. label00001D50:
  2672. 00001D50  7A00                     moveq.l    D5, 0x00
  2673. 00001D52  7E00                     moveq.l    D7, 0x00
  2674. 00001D54  6026                     bra        +0x28 /* 00001D7C */
  2675. label00001D56:
  2676. 00001D56  204D                     movea.l    A0, A5
  2677. 00001D58  D0C7                     add.w      A0, D7
  2678. 00001D5A  1828 E634                move.b     D4, [A0 - 0x19CC]
  2679. 00001D5E  4884                     ext.w      D4
  2680. 00001D60  0644 FFBF                addi.w     D4, 0xFFBF
  2681. 00001D64  0C44 FFDF                cmpi.w     D4, 0xFFDF
  2682. 00001D68  6710                     beq        +0x12 /* 00001D7A */
  2683. 00001D6A  204D                     movea.l    A0, A5
  2684. 00001D6C  D0C4                     add.w      A0, D4
  2685. 00001D6E  D0C4                     add.w      A0, D4
  2686. 00001D70  0C68 0001 E648           cmpi.w     [A0 - 0x19B8], 0x1
  2687. 00001D76  6702                     beq        +0x4 /* 00001D7A */
  2688. 00001D78  7A01                     moveq.l    D5, 0x01
  2689. label00001D7A:
  2690. 00001D7A  5247                     addq.w     D7, 1
  2691. label00001D7C:
  2692. 00001D7C  BE6D E646                cmp.w      D7, [A5 - 0x19BA]
  2693. 00001D80  6DD4                     blt        -0x2A /* 00001D56 */
  2694. 00001D82  4EBA 0226                jsr        [PC + 0x226 /* 00001FAA */]
  2695. 00001D86  5340                     subq.w     D0, 1
  2696. 00001D88  6604                     bne        +0x6 /* 00001D8E */
  2697. 00001D8A  4EBA 1310                jsr        [PC + 0x1310 /* 0000309C */]
  2698. label00001D8E:
  2699. 00001D8E  4A45                     tst.w      D5
  2700. 00001D90  6604                     bne        +0x6 /* 00001D96 */
  2701. 00001D92  7001                     moveq.l    D0, 0x01
  2702. 00001D94  600C                     bra        +0xE /* 00001DA2 */
  2703. label00001D96:
  2704. 00001D96  4A6D E67C                tst.w      [A5 - 0x1984]
  2705. 00001D9A  6604                     bne        +0x6 /* 00001DA0 */
  2706. 00001D9C  7002                     moveq.l    D0, 0x02
  2707. 00001D9E  6002                     bra        +0x4 /* 00001DA2 */
  2708. label00001DA0:
  2709. 00001DA0  7000                     moveq.l    D0, 0x00
  2710. label00001DA2:
  2711. 00001DA2  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  2712. 00001DA6  4E5E                     unlink     A6
  2713. 00001DA8  4E75                     rts
  2714. fn00001DAA:
  2715. 00001DAA  4E56 FFFA                link       A6, -0x0006
  2716. 00001DAE  486E FFFC                pea.l      [A6 - 0x4]
  2717. 00001DB2  A874                     syscall    GetPort
  2718. 00001DB4  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2719. 00001DB8  A873                     syscall    SetPort
  2720. 00001DBA  4EBA 12CC                jsr        [PC + 0x12CC /* 00003088 */]
  2721. 00001DBE  4EBA FD88                jsr        [PC - 0x278 /* 00001B48 */]
  2722. 00001DC2  486D F6D6                pea.l      [A5 - 0x92A]
  2723. 00001DC6  A928                     syscall    InvalRect
  2724. 00001DC8  486D E682                pea.l      [A5 - 0x197E]
  2725. 00001DCC  A928                     syscall    InvalRect
  2726. 00001DCE  486D E68A                pea.l      [A5 - 0x1976]
  2727. 00001DD2  A928                     syscall    InvalRect
  2728. 00001DD4  4EBA FE18                jsr        [PC - 0x1E8 /* 00001BEE */]
  2729. 00001DD8  0C6D 0001 E67E           cmpi.w     [A5 - 0x1982], 0x1
  2730. 00001DDE  6606                     bne        +0x8 /* 00001DE6 */
  2731. 00001DE0  4EBA 1696                jsr        [PC + 0x1696 /* 00003478 */]
  2732. 00001DE4  6004                     bra        +0x6 /* 00001DEA */
  2733. label00001DE6:
  2734. 00001DE6  4EBA F99E                jsr        [PC - 0x662 /* 00001786 */]
  2735. label00001DEA:
  2736. 00001DEA  486D E682                pea.l      [A5 - 0x197E]
  2737. 00001DEE  A928                     syscall    InvalRect
  2738. 00001DF0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2739. 00001DF4  A873                     syscall    SetPort
  2740. 00001DF6  4E5E                     unlink     A6
  2741. 00001DF8  4E75                     rts
  2742. fn00001DFA:
  2743. 00001DFA  4E56 FFFC                link       A6, -0x0004
  2744. 00001DFE  48E7 0300                movem.l    -[A7], D6,D7
  2745. 00001E02  486E FFFC                pea.l      [A6 - 0x4]
  2746. 00001E06  A874                     syscall    GetPort
  2747. 00001E08  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2748. 00001E0C  A873                     syscall    SetPort
  2749. 00001E0E  302D E62E                move.w     D0, [A5 - 0x19D2]
  2750. 00001E12  204D                     movea.l    A0, A5
  2751. 00001E14  48C0                     ext.l      D0
  2752. 00001E16  E588                     lsl        D0, 2
  2753. 00001E18  D1C0                     add.l      A0, D0
  2754. 00001E1A  2F28 E60A                move.l     -[A7], [A0 - 0x19F6]
  2755. 00001E1E  A862                     syscall    ForeColor
  2756. 00001E20  7E00                     moveq.l    D7, 0x00
  2757. 00001E22  603E                     bra        +0x40 /* 00001E62 */
  2758. label00001E24:
  2759. 00001E24  204D                     movea.l    A0, A5
  2760. 00001E26  D0C7                     add.w      A0, D7
  2761. 00001E28  0C28 0020 E634           cmpi.b     [A0 - 0x19CC], 0x20 /* ' ' */
  2762. 00001E2E  6730                     beq        +0x32 /* 00001E60 */
  2763. 00001E30  2F3C 0002 0002           move.l     -[A7], 0x20002
  2764. 00001E36  A89B                     syscall    PenSize
  2765. 00001E38  701C                     moveq.l    D0, 0x1C
  2766. 00001E3A  C1C7                     muls.w     D0, D7
  2767. 00001E3C  0640 000C                addi.w     D0, 0xC
  2768. 00001E40  3F00                     move.w     -[A7], D0
  2769. 00001E42  3F3C 00E4                move.w     -[A7], 0xE4
  2770. 00001E46  A893                     syscall    MoveTo
  2771. 00001E48  701C                     moveq.l    D0, 0x1C
  2772. 00001E4A  C1C7                     muls.w     D0, D7
  2773. 00001E4C  0640 001B                addi.w     D0, 0x1B
  2774. 00001E50  3F00                     move.w     -[A7], D0
  2775. 00001E52  3F3C 00E4                move.w     -[A7], 0xE4
  2776. 00001E56  A891                     syscall    LineTo
  2777. 00001E58  2F3C 0001 0001           move.l     -[A7], 0x10001
  2778. 00001E5E  A89B                     syscall    PenSize
  2779. label00001E60:
  2780. 00001E60  5247                     addq.w     D7, 1
  2781. label00001E62:
  2782. 00001E62  BE6D E646                cmp.w      D7, [A5 - 0x19BA]
  2783. 00001E66  6DBC                     blt        -0x42 /* 00001E24 */
  2784. 00001E68  7E00                     moveq.l    D7, 0x00
  2785. 00001E6A  6056                     bra        +0x58 /* 00001EC2 */
  2786. label00001E6C:
  2787. 00001E6C  204D                     movea.l    A0, A5
  2788. 00001E6E  D0C7                     add.w      A0, D7
  2789. 00001E70  1C28 E634                move.b     D6, [A0 - 0x19CC]
  2790. 00001E74  0C06 0020                cmpi.b     D6, 0x20 /* ' ' */
  2791. 00001E78  6746                     beq        +0x48 /* 00001EC0 */
  2792. 00001E7A  204D                     movea.l    A0, A5
  2793. 00001E7C  D0C7                     add.w      A0, D7
  2794. 00001E7E  70BF                     moveq.l    D0, 0xFFFFFFBF
  2795. 00001E80  D028 E634                add.b      D0, [A0 - 0x19CC]
  2796. 00001E84  1C00                     move.b     D6, D0
  2797. 00001E86  1006                     move.b     D0, D6
  2798. 00001E88  4880                     ext.w      D0
  2799. 00001E8A  204D                     movea.l    A0, A5
  2800. 00001E8C  D0C0                     add.w      A0, D0
  2801. 00001E8E  D0C0                     add.w      A0, D0
  2802. 00001E90  0C68 0001 E648           cmpi.w     [A0 - 0x19B8], 0x1
  2803. 00001E96  6628                     bne        +0x2A /* 00001EC0 */
  2804. 00001E98  2F3C 0001 0000           move.l     -[A7], 0x10000
  2805. 00001E9E  2F3C 0001 0003           move.l     -[A7], 0x10003
  2806. 00001EA4  3F3C 00CE                move.w     -[A7], 0xCE
  2807. 00001EA8  701C                     moveq.l    D0, 0x1C
  2808. 00001EAA  C1C7                     muls.w     D0, D7
  2809. 00001EAC  0640 000A                addi.w     D0, 0xA /* '\n' */
  2810. 00001EB0  3F00                     move.w     -[A7], D0
  2811. 00001EB2  1006                     move.b     D0, D6
  2812. 00001EB4  4880                     ext.w      D0
  2813. 00001EB6  3F00                     move.w     -[A7], D0
  2814. 00001EB8  4EBA 0F32                jsr        [PC + 0xF32 /* 00002DEC */]
  2815. 00001EBC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2816. label00001EC0:
  2817. 00001EC0  5247                     addq.w     D7, 1
  2818. label00001EC2:
  2819. 00001EC2  BE6D E646                cmp.w      D7, [A5 - 0x19BA]
  2820. 00001EC6  6DA4                     blt        -0x5A /* 00001E6C */
  2821. 00001EC8  4878 0021                push.l     0x21 /* '!' */
  2822. 00001ECC  A862                     syscall    ForeColor
  2823. 00001ECE  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2824. 00001ED2  A873                     syscall    SetPort
  2825. 00001ED4  4CDF 00C0                movem.l    D6,D7, [A7]+
  2826. 00001ED8  4E5E                     unlink     A6
  2827. 00001EDA  4E75                     rts
  2828. fn00001EDC:
  2829. 00001EDC  4E56 FFFA                link       A6, -0x0006
  2830. 00001EE0  2F07                     move.l     -[A7], D7
  2831. 00001EE2  486E FFFA                pea.l      [A6 - 0x6]
  2832. 00001EE6  A874                     syscall    GetPort
  2833. 00001EE8  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2834. 00001EEC  A873                     syscall    SetPort
  2835. 00001EEE  A89E                     syscall    PenNormal
  2836. 00001EF0  7E00                     moveq.l    D7, 0x00
  2837. 00001EF2  601E                     bra        +0x20 /* 00001F12 */
  2838. label00001EF4:
  2839. 00001EF4  3F3C 0001                move.w     -[A7], 0x1
  2840. 00001EF8  4EBA 009C                jsr        [PC + 0x9C /* 00001F96 */]
  2841. 00001EFC  486D E68A                pea.l      [A5 - 0x1976]
  2842. 00001F00  2F3C 0001 0001           move.l     -[A7], 0x10001
  2843. 00001F06  A8A9                     syscall    InsetRect
  2844. 00001F08  486D E68A                pea.l      [A5 - 0x1976]
  2845. 00001F0C  A8A1                     syscall    FrameRect
  2846. 00001F0E  548F                     addq.l     A7, 2
  2847. 00001F10  5247                     addq.w     D7, 1
  2848. label00001F12:
  2849. 00001F12  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  2850. 00001F16  6DDC                     blt        -0x22 /* 00001EF4 */
  2851. 00001F18  486D F9CC                pea.l      [A5 - 0x634]
  2852. 00001F1C  A89D                     syscall    PenPat
  2853. 00001F1E  7E00                     moveq.l    D7, 0x00
  2854. 00001F20  601C                     bra        +0x1E /* 00001F3E */
  2855. label00001F22:
  2856. 00001F22  3F3C 0001                move.w     -[A7], 0x1
  2857. 00001F26  4EBA 006E                jsr        [PC + 0x6E /* 00001F96 */]
  2858. 00001F2A  486D E68A                pea.l      [A5 - 0x1976]
  2859. 00001F2E  4878 FFFF                push.l     0xFFFF
  2860. 00001F32  A8A9                     syscall    InsetRect
  2861. 00001F34  486D E68A                pea.l      [A5 - 0x1976]
  2862. 00001F38  A8A1                     syscall    FrameRect
  2863. 00001F3A  548F                     addq.l     A7, 2
  2864. 00001F3C  5247                     addq.w     D7, 1
  2865. label00001F3E:
  2866. 00001F3E  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  2867. 00001F42  6DDE                     blt        -0x20 /* 00001F22 */
  2868. 00001F44  A89E                     syscall    PenNormal
  2869. 00001F46  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  2870. 00001F4A  A873                     syscall    SetPort
  2871. 00001F4C  2E1F                     move.l     D7, [A7]+
  2872. 00001F4E  4E5E                     unlink     A6
  2873. 00001F50  4E75                     rts
  2874. fn00001F52:
  2875. 00001F52  4E56 FFFC                link       A6, -0x0004
  2876. 00001F56  2F07                     move.l     -[A7], D7
  2877. 00001F58  486E FFFC                pea.l      [A6 - 0x4]
  2878. 00001F5C  A874                     syscall    GetPort
  2879. 00001F5E  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2880. 00001F62  A873                     syscall    SetPort
  2881. 00001F64  4EBA FE94                jsr        [PC - 0x16C /* 00001DFA */]
  2882. 00001F68  7E00                     moveq.l    D7, 0x00
  2883. 00001F6A  6012                     bra        +0x14 /* 00001F7E */
  2884. label00001F6C:
  2885. 00001F6C  486D E682                pea.l      [A5 - 0x197E]
  2886. 00001F70  A8A4                     syscall    InvertRect
  2887. 00001F72  3F3C 0014                move.w     -[A7], 0x14
  2888. 00001F76  4EBA 001E                jsr        [PC + 0x1E /* 00001F96 */]
  2889. 00001F7A  548F                     addq.l     A7, 2
  2890. 00001F7C  5247                     addq.w     D7, 1
  2891. label00001F7E:
  2892. 00001F7E  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  2893. 00001F82  6DE8                     blt        -0x16 /* 00001F6C */
  2894. 00001F84  486D E682                pea.l      [A5 - 0x197E]
  2895. 00001F88  A8A3                     syscall    EraseRect
  2896. 00001F8A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2897. 00001F8E  A873                     syscall    SetPort
  2898. 00001F90  2E1F                     move.l     D7, [A7]+
  2899. 00001F92  4E5E                     unlink     A6
  2900. 00001F94  4E75                     rts
  2901. fn00001F96:
  2902. 00001F96  4E56 FFFC                link       A6, -0x0004
  2903. 00001F9A  306E 0008                movea.w    A0, [A6 + 0x8]
  2904. 00001F9E  43EE FFFC                lea.l      A1, [A6 - 0x4]
  2905. 00001FA2  A03B                     syscall    Delay
  2906. 00001FA4  2280                     move.l     [A1], D0
  2907. 00001FA6  4E5E                     unlink     A6
  2908. 00001FA8  4E75                     rts
  2909. fn00001FAA:
  2910. 00001FAA  48E7 0300                movem.l    -[A7], D6,D7
  2911. 00001FAE  7C00                     moveq.l    D6, 0x00
  2912. 00001FB0  7E00                     moveq.l    D7, 0x00
  2913. 00001FB2  6012                     bra        +0x14 /* 00001FC6 */
  2914. label00001FB4:
  2915. 00001FB4  204D                     movea.l    A0, A5
  2916. 00001FB6  D0C7                     add.w      A0, D7
  2917. 00001FB8  D0C7                     add.w      A0, D7
  2918. 00001FBA  0C68 0001 E648           cmpi.w     [A0 - 0x19B8], 0x1
  2919. 00001FC0  6602                     bne        +0x4 /* 00001FC4 */
  2920. 00001FC2  5246                     addq.w     D6, 1
  2921. label00001FC4:
  2922. 00001FC4  5247                     addq.w     D7, 1
  2923. label00001FC6:
  2924. 00001FC6  0C47 001A                cmpi.w     D7, 0x1A
  2925. 00001FCA  6DE8                     blt        -0x16 /* 00001FB4 */
  2926. 00001FCC  3006                     move.w     D0, D6
  2927. 00001FCE  4CDF 00C0                movem.l    D6,D7, [A7]+
  2928. 00001FD2  4E75                     rts
  2929. fn00001FD4:
  2930. 00001FD4  4E56 FFFC                link       A6, -0x0004
  2931. 00001FD8  486E FFFC                pea.l      [A6 - 0x4]
  2932. 00001FDC  A874                     syscall    GetPort
  2933. 00001FDE  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2934. 00001FE2  A873                     syscall    SetPort
  2935. 00001FE4  302D E630                move.w     D0, [A5 - 0x19D0]
  2936. 00001FE8  204D                     movea.l    A0, A5
  2937. 00001FEA  48C0                     ext.l      D0
  2938. 00001FEC  E588                     lsl        D0, 2
  2939. 00001FEE  D1C0                     add.l      A0, D0
  2940. 00001FF0  2F28 E60A                move.l     -[A7], [A0 - 0x19F6]
  2941. 00001FF4  A863                     syscall    BackColor
  2942. 00001FF6  486D E682                pea.l      [A5 - 0x197E]
  2943. 00001FFA  A8A3                     syscall    EraseRect
  2944. 00001FFC  4878 001E                push.l     0x1E
  2945. 00002000  A863                     syscall    BackColor
  2946. 00002002  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2947. 00002006  A873                     syscall    SetPort
  2948. 00002008  4E5E                     unlink     A6
  2949. 0000200A  4E75                     rts
  2950. 0000200C  4267                     clr.w      -[A7]
  2951. 0000200E  A889                     syscall    TextMode
  2952. 00002010  4267                     clr.w      -[A7]
  2953. 00002012  A888                     syscall    TextFace
  2954. 00002014  4267                     clr.w      -[A7]
  2955. 00002016  A887                     syscall    TextFont
  2956. 00002018  3F3C 000C                move.w     -[A7], 0xC
  2957. 0000201C  A88A                     syscall    TextSize
  2958. 0000201E  4E75                     rts
  2959. fn00002020:
  2960. 00002020  4E56 FFF2                link       A6, -0x000E
  2961. 00002024  2F07                     move.l     -[A7], D7
  2962. 00002026  486E FFFA                pea.l      [A6 - 0x6]
  2963. 0000202A  A874                     syscall    GetPort
  2964. 0000202C  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  2965. 00002030  A873                     syscall    SetPort
  2966. 00002032  486D E692                pea.l      [A5 - 0x196E]
  2967. 00002036  A8A3                     syscall    EraseRect
  2968. 00002038  4878 0021                push.l     0x21 /* '!' */
  2969. 0000203C  A862                     syscall    ForeColor
  2970. 0000203E  486D E692                pea.l      [A5 - 0x196E]
  2971. 00002042  A8A1                     syscall    FrameRect
  2972. 00002044  486D E692                pea.l      [A5 - 0x196E]
  2973. 00002048  2F3C 0001 0001           move.l     -[A7], 0x10001
  2974. 0000204E  A8A9                     syscall    InsetRect
  2975. 00002050  4878 00CD                push.l     0xCD
  2976. 00002054  A862                     syscall    ForeColor
  2977. 00002056  2D6D E692 FFF2           move.l     [A6 - 0xE], [A5 - 0x196E]
  2978. 0000205C  2D6D E696 FFF6           move.l     [A6 - 0xA], [A5 - 0x196A]
  2979. 00002062  700E                     moveq.l    D0, 0x0E
  2980. 00002064  D06E FFF2                add.w      D0, [A6 - 0xE]
  2981. 00002068  3D40 FFF6                move.w     [A6 - 0xA], D0
  2982. 0000206C  486E FFF2                pea.l      [A6 - 0xE]
  2983. 00002070  486D F9B4                pea.l      [A5 - 0x64C]
  2984. 00002074  A8A5                     syscall    FillRect
  2985. 00002076  2D6D E692 FFF2           move.l     [A6 - 0xE], [A5 - 0x196E]
  2986. 0000207C  2D6D E696 FFF6           move.l     [A6 - 0xA], [A5 - 0x196A]
  2987. 00002082  70F2                     moveq.l    D0, 0xFFFFFFF2
  2988. 00002084  D06E FFF6                add.w      D0, [A6 - 0xA]
  2989. 00002088  3D40 FFF2                move.w     [A6 - 0xE], D0
  2990. 0000208C  486E FFF2                pea.l      [A6 - 0xE]
  2991. 00002090  486D F9B4                pea.l      [A5 - 0x64C]
  2992. 00002094  A8A5                     syscall    FillRect
  2993. 00002096  2D6D E692 FFF2           move.l     [A6 - 0xE], [A5 - 0x196E]
  2994. 0000209C  2D6D E696 FFF6           move.l     [A6 - 0xA], [A5 - 0x196A]
  2995. 000020A2  700E                     moveq.l    D0, 0x0E
  2996. 000020A4  D06E FFF4                add.w      D0, [A6 - 0xC]
  2997. 000020A8  3D40 FFF8                move.w     [A6 - 0x8], D0
  2998. 000020AC  486E FFF2                pea.l      [A6 - 0xE]
  2999. 000020B0  486D F9B4                pea.l      [A5 - 0x64C]
  3000. 000020B4  A8A5                     syscall    FillRect
  3001. 000020B6  2D6D E692 FFF2           move.l     [A6 - 0xE], [A5 - 0x196E]
  3002. 000020BC  2D6D E696 FFF6           move.l     [A6 - 0xA], [A5 - 0x196A]
  3003. 000020C2  70F2                     moveq.l    D0, 0xFFFFFFF2
  3004. 000020C4  D06E FFF8                add.w      D0, [A6 - 0x8]
  3005. 000020C8  3D40 FFF4                move.w     [A6 - 0xC], D0
  3006. 000020CC  486E FFF2                pea.l      [A6 - 0xE]
  3007. 000020D0  486D F9B4                pea.l      [A5 - 0x64C]
  3008. 000020D4  A8A5                     syscall    FillRect
  3009. 000020D6  2D6D E692 FFF2           move.l     [A6 - 0xE], [A5 - 0x196E]
  3010. 000020DC  2D6D E696 FFF6           move.l     [A6 - 0xA], [A5 - 0x196A]
  3011. 000020E2  486E FFF2                pea.l      [A6 - 0xE]
  3012. 000020E6  2F3C 0006 0006           move.l     -[A7], 0x60006
  3013. 000020EC  A8A9                     syscall    InsetRect
  3014. 000020EE  4878 0021                push.l     0x21 /* '!' */
  3015. 000020F2  A862                     syscall    ForeColor
  3016. 000020F4  2F3C 0002 0002           move.l     -[A7], 0x20002
  3017. 000020FA  A89B                     syscall    PenSize
  3018. 000020FC  486E FFF2                pea.l      [A6 - 0xE]
  3019. 00002100  A8A1                     syscall    FrameRect
  3020. 00002102  2F3C 0001 0001           move.l     -[A7], 0x10001
  3021. 00002108  A89B                     syscall    PenSize
  3022. 0000210A  486D E692                pea.l      [A5 - 0x196E]
  3023. 0000210E  2F3C 000E 000E           move.l     -[A7], 0xE000E
  3024. 00002114  A8A9                     syscall    InsetRect
  3025. 00002116  4878 0021                push.l     0x21 /* '!' */
  3026. 0000211A  A862                     syscall    ForeColor
  3027. 0000211C  486D E692                pea.l      [A5 - 0x196E]
  3028. 00002120  A8A1                     syscall    FrameRect
  3029. 00002122  486D E692                pea.l      [A5 - 0x196E]
  3030. 00002126  2F3C 0001 0001           move.l     -[A7], 0x10001
  3031. 0000212C  A8A9                     syscall    InsetRect
  3032. 0000212E  A89E                     syscall    PenNormal
  3033. 00002130  2B6D E692 F6D6           move.l     [A5 - 0x92A], [A5 - 0x196E]
  3034. 00002136  2B6D E696 F6DA           move.l     [A5 - 0x926], [A5 - 0x196A]
  3035. 0000213C  7E00                     moveq.l    D7, 0x00
  3036. 0000213E  600C                     bra        +0xE /* 0000214C */
  3037. label00002140:
  3038. 00002140  486D E692                pea.l      [A5 - 0x196E]
  3039. 00002144  4878 FFFF                push.l     0xFFFF
  3040. 00002148  A8A9                     syscall    InsetRect
  3041. 0000214A  5247                     addq.w     D7, 1
  3042. label0000214C:
  3043. 0000214C  0C47 0010                cmpi.w     D7, 0x10
  3044. 00002150  6DEE                     blt        -0x10 /* 00002140 */
  3045. 00002152  302D E680                move.w     D0, [A5 - 0x1980]
  3046. 00002156  B06D E67C                cmp.w      D0, [A5 - 0x1984]
  3047. 0000215A  6670                     bne        +0x72 /* 000021CC */
  3048. 0000215C  2D6D F6D6 FFF2           move.l     [A6 - 0xE], [A5 - 0x92A]
  3049. 00002162  2D6D F6DA FFF6           move.l     [A6 - 0xA], [A5 - 0x926]
  3050. 00002168  4878 00CD                push.l     0xCD
  3051. 0000216C  A862                     syscall    ForeColor
  3052. 0000216E  486E FFF2                pea.l      [A6 - 0xE]
  3053. 00002172  486D F9AC                pea.l      [A5 - 0x654]
  3054. 00002176  A8A5                     syscall    FillRect
  3055. 00002178  486E FFF2                pea.l      [A6 - 0xE]
  3056. 0000217C  2F3C 0014 0028           move.l     -[A7], 0x140028
  3057. 00002182  A8A9                     syscall    InsetRect
  3058. 00002184  4878 0021                push.l     0x21 /* '!' */
  3059. 00002188  A862                     syscall    ForeColor
  3060. 0000218A  2F3C 0004 0004           move.l     -[A7], 0x40004
  3061. 00002190  A89B                     syscall    PenSize
  3062. 00002192  486E FFF2                pea.l      [A6 - 0xE]
  3063. 00002196  2F3C 0037 0037           move.l     -[A7], 0x370037 /* '7\07' */
  3064. 0000219C  A8B0                     syscall    FrameRoundRect
  3065. 0000219E  486E FFF2                pea.l      [A6 - 0xE]
  3066. 000021A2  2F3C 0003 0003           move.l     -[A7], 0x30003
  3067. 000021A8  A8A9                     syscall    InsetRect
  3068. 000021AA  A89E                     syscall    PenNormal
  3069. 000021AC  4878 0199                push.l     0x199
  3070. 000021B0  A862                     syscall    ForeColor
  3071. 000021B2  486E FFF2                pea.l      [A6 - 0xE]
  3072. 000021B6  2F3C 0032 0032           move.l     -[A7], 0x320032 /* '2\02' */
  3073. 000021BC  486D F9B4                pea.l      [A5 - 0x64C]
  3074. 000021C0  A8B4                     syscall    FillRoundRect
  3075. 000021C2  4878 0021                push.l     0x21 /* '!' */
  3076. 000021C6  A862                     syscall    ForeColor
  3077. 000021C8  4EBA 000E                jsr        [PC + 0xE /* 000021D8 */]
  3078. label000021CC:
  3079. 000021CC  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  3080. 000021D0  A873                     syscall    SetPort
  3081. 000021D2  2E1F                     move.l     D7, [A7]+
  3082. 000021D4  4E5E                     unlink     A6
  3083. 000021D6  4E75                     rts
  3084. fn000021D8:
  3085. 000021D8  4E56 FFF4                link       A6, -0x000C
  3086. 000021DC  48E7 0108                movem.l    -[A7], D7,A4
  3087. 000021E0  4878 0021                push.l     0x21 /* '!' */
  3088. 000021E4  A862                     syscall    ForeColor
  3089. 000021E6  4878 001E                push.l     0x1E
  3090. 000021EA  A863                     syscall    BackColor
  3091. 000021EC  7E00                     moveq.l    D7, 0x00
  3092. 000021EE  6000 00B4                bra        +0xB6 /* 000022A4 */
  3093. label000021F2:
  3094. 000021F2  700A                     moveq.l    D0, 0x0A
  3095. 000021F4  C1C7                     muls.w     D0, D7
  3096. 000021F6  204D                     movea.l    A0, A5
  3097. 000021F8  D1C0                     add.l      A0, D0
  3098. 000021FA  3D68 F66A FFFA           move.w     [A6 - 0x6], [A0 - 0x996]
  3099. 00002200  700A                     moveq.l    D0, 0x0A
  3100. 00002202  C1C7                     muls.w     D0, D7
  3101. 00002204  204D                     movea.l    A0, A5
  3102. 00002206  D1C0                     add.l      A0, D0
  3103. 00002208  3D68 F66C FFF8           move.w     [A6 - 0x8], [A0 - 0x994]
  3104. 0000220E  7020                     moveq.l    D0, 0x20
  3105. 00002210  D06E FFFA                add.w      D0, [A6 - 0x6]
  3106. 00002214  3D40 FFFE                move.w     [A6 - 0x2], D0
  3107. 00002218  7020                     moveq.l    D0, 0x20
  3108. 0000221A  D06E FFF8                add.w      D0, [A6 - 0x8]
  3109. 0000221E  3D40 FFFC                move.w     [A6 - 0x4], D0
  3110. 00002222  0C47 0007                cmpi.w     D7, 0x7
  3111. 00002226  6C0E                     bge        +0x10 /* 00002236 */
  3112. 00002228  486E FFF8                pea.l      [A6 - 0x8]
  3113. 0000222C  2F3C 003C 005F           move.l     -[A7], 0x3C005F /* '<\0_' */
  3114. 00002232  A8A8                     syscall    OffsetRect
  3115. 00002234  600C                     bra        +0xE /* 00002242 */
  3116. label00002236:
  3117. 00002236  486E FFF8                pea.l      [A6 - 0x8]
  3118. 0000223A  2F3C 003C 009B           move.l     -[A7], 0x3C009B
  3119. 00002240  A8A8                     syscall    OffsetRect
  3120. label00002242:
  3121. 00002242  42A7                     clr.l      -[A7]
  3122. 00002244  700A                     moveq.l    D0, 0x0A
  3123. 00002246  C1C7                     muls.w     D0, D7
  3124. 00002248  204D                     movea.l    A0, A5
  3125. 0000224A  D1C0                     add.l      A0, D0
  3126. 0000224C  1028 F668                move.b     D0, [A0 - 0x998]
  3127. 00002250  4880                     ext.w      D0
  3128. 00002252  0640 00EC                addi.w     D0, 0xEC
  3129. 00002256  3F00                     move.w     -[A7], D0
  3130. 00002258  A9BB                     syscall    GetIcon
  3131. 0000225A  285F                     movea.l    A4, [A7]+
  3132. 0000225C  200C                     move.l     D0, A4
  3133. 0000225E  6732                     beq        +0x34 /* 00002292 */
  3134. 00002260  4EBA F18C                jsr        [PC - 0xE74 /* 000013EE */]
  3135. 00002264  4A40                     tst.w      D0
  3136. 00002266  670E                     beq        +0x10 /* 00002276 */
  3137. 00002268  700A                     moveq.l    D0, 0x0A
  3138. 0000226A  C1C7                     muls.w     D0, D7
  3139. 0000226C  204D                     movea.l    A0, A5
  3140. 0000226E  D1C0                     add.l      A0, D0
  3141. 00002270  2F28 F66E                move.l     -[A7], [A0 - 0x992]
  3142. 00002274  A862                     syscall    ForeColor
  3143. label00002276:
  3144. 00002276  204C                     movea.l    A0, A4
  3145. 00002278  A029                     syscall    HLock
  3146. 0000227A  486E FFF8                pea.l      [A6 - 0x8]
  3147. 0000227E  2F0C                     move.l     -[A7], A4
  3148. 00002280  A94B                     syscall    PlotIcon
  3149. 00002282  204C                     movea.l    A0, A4
  3150. 00002284  A02A                     syscall    HUnlock
  3151. 00002286  4878 0021                push.l     0x21 /* '!' */
  3152. 0000228A  A862                     syscall    ForeColor
  3153. 0000228C  4878 001E                push.l     0x1E
  3154. 00002290  A863                     syscall    BackColor
  3155. label00002292:
  3156. 00002292  2F3C 0002 0002           move.l     -[A7], 0x20002
  3157. 00002298  A89B                     syscall    PenSize
  3158. 0000229A  486E FFF8                pea.l      [A6 - 0x8]
  3159. 0000229E  A8A1                     syscall    FrameRect
  3160. 000022A0  A89E                     syscall    PenNormal
  3161. 000022A2  5247                     addq.w     D7, 1
  3162. label000022A4:
  3163. 000022A4  0C47 000B                cmpi.w     D7, 0xB
  3164. 000022A8  6D00 FF48                blt        -0xB6 /* 000021F2 */
  3165. 000022AC  4CDF 1080                movem.l    D7,A4, [A7]+
  3166. 000022B0  4E5E                     unlink     A6
  3167. 000022B2  4E75                     rts
  3168. fn000022B4:
  3169. 000022B4  4E56 FFFE                link       A6, -0x0002
  3170. 000022B8  2F07                     move.l     -[A7], D7
  3171. 000022BA  302D E680                move.w     D0, [A5 - 0x1980]
  3172. 000022BE  5D40                     subq.w     D0, 6
  3173. 000022C0  0C40 0006                cmpi.w     D0, 0x6
  3174. 000022C4  6200 00D0                bhi        +0xD2 /* 00002396 */
  3175. 000022C8  43FA 00EA                lea.l      A1, [PC + 0xEA /* 000023B4, value 0xFF20FFE2 */]
  3176. 000022CC  D040                     add.w      D0, D0
  3177. 000022CE  D2F1 0000                add.w      A1, [A1 + D0.w]
  3178. 000022D2  4ED1                     jmp        [A1]
  3179. 000022D4  0C6D 0005 E67C           cmpi.w     [A5 - 0x1984], 0x5
  3180. 000022DA  6600 00BA                bne        +0xBC /* 00002396 */
  3181. 000022DE  7E0B                     moveq.l    D7, 0x0B
  3182. 000022E0  600E                     bra        +0x10 /* 000022F0 */
  3183. label000022E2:
  3184. 000022E2  3F3C 0001                move.w     -[A7], 0x1
  3185. 000022E6  3F07                     move.w     -[A7], D7
  3186. 000022E8  4EBA 0244                jsr        [PC + 0x244 /* 0000252E */]
  3187. 000022EC  588F                     addq.l     A7, 4
  3188. 000022EE  5347                     subq.w     D7, 1
  3189. label000022F0:
  3190. 000022F0  0C47 0006                cmpi.w     D7, 0x6
  3191. 000022F4  6CEC                     bge        -0x12 /* 000022E2 */
  3192. 000022F6  6000 009E                bra        +0xA0 /* 00002396 */
  3193. 000022FA  302D E67C                move.w     D0, [A5 - 0x1984]
  3194. 000022FE  6B00 0096                bmi        +0x98 /* 00002396 */
  3195. 00002302  5F40                     subq.w     D0, 7
  3196. 00002304  670C                     beq        +0xE /* 00002312 */
  3197. 00002306  6A00 008E                bpl        +0x90 /* 00002396 */
  3198. 0000230A  5240                     addq.w     D0, 1
  3199. 0000230C  6A1E                     bpl        +0x20 /* 0000232C */
  3200. 0000230E  6000 0086                bra        +0x88 /* 00002396 */
  3201. label00002312:
  3202. 00002312  7E0B                     moveq.l    D7, 0x0B
  3203. 00002314  600E                     bra        +0x10 /* 00002324 */
  3204. label00002316:
  3205. 00002316  3F3C 0001                move.w     -[A7], 0x1
  3206. 0000231A  3F07                     move.w     -[A7], D7
  3207. 0000231C  4EBA 0210                jsr        [PC + 0x210 /* 0000252E */]
  3208. 00002320  588F                     addq.l     A7, 4
  3209. 00002322  5347                     subq.w     D7, 1
  3210. label00002324:
  3211. 00002324  0C47 0007                cmpi.w     D7, 0x7
  3212. 00002328  6CEC                     bge        -0x12 /* 00002316 */
  3213. 0000232A  606A                     bra        +0x6C /* 00002396 */
  3214. label0000232C:
  3215. 0000232C  2F3C 0006 0001           move.l     -[A7], 0x60001
  3216. 00002332  4EBA 01FA                jsr        [PC + 0x1FA /* 0000252E */]
  3217. 00002336  588F                     addq.l     A7, 4
  3218. 00002338  605C                     bra        +0x5E /* 00002396 */
  3219. 0000233A  302D E67C                move.w     D0, [A5 - 0x1984]
  3220. 0000233E  6B56                     bmi        +0x58 /* 00002396 */
  3221. 00002340  0440 0009                subi.w     D0, 0x9 /* '\t' */
  3222. 00002344  6708                     beq        +0xA /* 0000234E */
  3223. 00002346  6A4E                     bpl        +0x50 /* 00002396 */
  3224. 00002348  5640                     addq.w     D0, 3
  3225. 0000234A  6A1C                     bpl        +0x1E /* 00002368 */
  3226. 0000234C  6048                     bra        +0x4A /* 00002396 */
  3227. label0000234E:
  3228. 0000234E  7E0B                     moveq.l    D7, 0x0B
  3229. 00002350  600E                     bra        +0x10 /* 00002360 */
  3230. label00002352:
  3231. 00002352  3F3C 0001                move.w     -[A7], 0x1
  3232. 00002356  3F07                     move.w     -[A7], D7
  3233. 00002358  4EBA 01D4                jsr        [PC + 0x1D4 /* 0000252E */]
  3234. 0000235C  588F                     addq.l     A7, 4
  3235. 0000235E  5347                     subq.w     D7, 1
  3236. label00002360:
  3237. 00002360  0C47 0009                cmpi.w     D7, 0x9 /* '\t' */
  3238. 00002364  6CEC                     bge        -0x12 /* 00002352 */
  3239. 00002366  602E                     bra        +0x30 /* 00002396 */
  3240. label00002368:
  3241. 00002368  3F3C 0001                move.w     -[A7], 0x1
  3242. 0000236C  3F2D E67C                move.w     -[A7], [A5 - 0x1984]
  3243. 00002370  4EBA 01BC                jsr        [PC + 0x1BC /* 0000252E */]
  3244. 00002374  588F                     addq.l     A7, 4
  3245. 00002376  601E                     bra        +0x20 /* 00002396 */
  3246. 00002378  302D E67C                move.w     D0, [A5 - 0x1984]
  3247. 0000237C  6B18                     bmi        +0x1A /* 00002396 */
  3248. 0000237E  0440 000C                subi.w     D0, 0xC
  3249. 00002382  6A12                     bpl        +0x14 /* 00002396 */
  3250. 00002384  5C40                     addq.w     D0, 6
  3251. 00002386  6B0E                     bmi        +0x10 /* 00002396 */
  3252. 00002388  3F3C 0001                move.w     -[A7], 0x1
  3253. 0000238C  3F2D E67C                move.w     -[A7], [A5 - 0x1984]
  3254. 00002390  4EBA 019C                jsr        [PC + 0x19C /* 0000252E */]
  3255. 00002394  588F                     addq.l     A7, 4
  3256. label00002396:
  3257. 00002396  302D E67C                move.w     D0, [A5 - 0x1984]
  3258. 0000239A  6B12                     bmi        +0x14 /* 000023AE */
  3259. 0000239C  5D40                     subq.w     D0, 6
  3260. 0000239E  6A0E                     bpl        +0x10 /* 000023AE */
  3261. 000023A0  3F3C 0001                move.w     -[A7], 0x1
  3262. 000023A4  3F2D E67C                move.w     -[A7], [A5 - 0x1984]
  3263. 000023A8  4EBA 0184                jsr        [PC + 0x184 /* 0000252E */]
  3264. 000023AC  588F                     addq.l     A7, 4
  3265. label000023AE:
  3266. 000023AE  2E1F                     move.l     D7, [A7]+
  3267. 000023B0  4E5E                     unlink     A6
  3268. 000023B2  4E75                     rts
  3269. 000023B4  FF20                     .extension 0xF20 <<F/4-5/7>> // unimplemented
  3270. 000023B6  FFE2                     .invalid   <<F/7/7>>
  3271. 000023B8  FF46                     .extension 0xF46 <<F/4-5/7>> // unimplemented
  3272. 000023BA  FFE2                     .invalid   <<F/7/7>>
  3273. 000023BC  FF86                     .invalid   <<F/6/7>>
  3274. 000023BE  FFE2                     .invalid   <<F/7/7>>
  3275. 000023C0  FFC4                     .invalid   <<F/7/7>>
  3276. fn000023C2:
  3277. 000023C2  701E                     moveq.l    D0, 0x1E
  3278. 000023C4  2B40 F6DE                move.l     [A5 - 0x922], D0
  3279. 000023C8  4A2D E847                tst.b      [A5 - 0x17B9]
  3280. 000023CC  670E                     beq        +0x10 /* 000023DC */
  3281. 000023CE  4EBA F1DC                jsr        [PC - 0xE24 /* 000015AC */]
  3282. 000023D2  5540                     subq.w     D0, 2
  3283. 000023D4  6F06                     ble        +0x8 /* 000023DC */
  3284. 000023D6  7045                     moveq.l    D0, 0x45
  3285. 000023D8  2B40 F6DE                move.l     [A5 - 0x922], D0
  3286. label000023DC:
  3287. 000023DC  4E75                     rts
  3288. fn000023DE:
  3289. 000023DE  4E56 FFF4                link       A6, -0x000C
  3290. 000023E2  48E7 0700                movem.l    -[A7], D5,D6,D7
  3291. 000023E6  486E FFFC                pea.l      [A6 - 0x4]
  3292. 000023EA  A874                     syscall    GetPort
  3293. 000023EC  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  3294. 000023F0  A873                     syscall    SetPort
  3295. 000023F2  4EBA FFCE                jsr        [PC - 0x32 /* 000023C2 */]
  3296. 000023F6  3C2D F660                move.w     D6, [A5 - 0x9A0]
  3297. 000023FA  3A2D F662                move.w     D5, [A5 - 0x99E]
  3298. 000023FE  7E00                     moveq.l    D7, 0x00
  3299. 00002400  6052                     bra        +0x54 /* 00002454 */
  3300. label00002402:
  3301. 00002402  486E FFF4                pea.l      [A6 - 0xC]
  3302. 00002406  3F06                     move.w     -[A7], D6
  3303. 00002408  3F05                     move.w     -[A7], D5
  3304. 0000240A  7020                     moveq.l    D0, 0x20
  3305. 0000240C  D046                     add.w      D0, D6
  3306. 0000240E  3F00                     move.w     -[A7], D0
  3307. 00002410  7020                     moveq.l    D0, 0x20
  3308. 00002412  D045                     add.w      D0, D5
  3309. 00002414  3F00                     move.w     -[A7], D0
  3310. 00002416  A8A7                     syscall    SetRect
  3311. 00002418  4878 0199                push.l     0x199
  3312. 0000241C  A862                     syscall    ForeColor
  3313. 0000241E  486E FFF4                pea.l      [A6 - 0xC]
  3314. 00002422  486D F9AC                pea.l      [A5 - 0x654]
  3315. 00002426  A8A5                     syscall    FillRect
  3316. 00002428  5A46                     addq.w     D6, 5
  3317. 0000242A  5345                     subq.w     D5, 1
  3318. 0000242C  2F2D F6DE                move.l     -[A7], [A5 - 0x922]
  3319. 00002430  A862                     syscall    ForeColor
  3320. 00002432  42A7                     clr.l      -[A7]
  3321. 00002434  2F3C 0001 0003           move.l     -[A7], 0x10003
  3322. 0000243A  3F05                     move.w     -[A7], D5
  3323. 0000243C  3F06                     move.w     -[A7], D6
  3324. 0000243E  3F3C 0149                move.w     -[A7], 0x149
  3325. 00002442  4EBA 07AA                jsr        [PC + 0x7AA /* 00002BEE */]
  3326. 00002446  3EBC 0002                move.w     [A7], 0x2
  3327. 0000244A  4EBA FB4A                jsr        [PC - 0x4B6 /* 00001F96 */]
  3328. 0000244E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3329. 00002452  5247                     addq.w     D7, 1
  3330. label00002454:
  3331. 00002454  0C47 001E                cmpi.w     D7, 0x1E
  3332. 00002458  6DA8                     blt        -0x56 /* 00002402 */
  3333. 0000245A  4878 0021                push.l     0x21 /* '!' */
  3334. 0000245E  A862                     syscall    ForeColor
  3335. 00002460  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3336. 00002464  A873                     syscall    SetPort
  3337. 00002466  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  3338. 0000246A  4E5E                     unlink     A6
  3339. 0000246C  4E75                     rts
  3340. fn0000246E:
  3341. 0000246E  4E56 FFFC                link       A6, -0x0004
  3342. 00002472  486E FFFC                pea.l      [A6 - 0x4]
  3343. 00002476  A874                     syscall    GetPort
  3344. 00002478  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  3345. 0000247C  A873                     syscall    SetPort
  3346. 0000247E  4EBA FF42                jsr        [PC - 0xBE /* 000023C2 */]
  3347. 00002482  2F2D F6DE                move.l     -[A7], [A5 - 0x922]
  3348. 00002486  A862                     syscall    ForeColor
  3349. 00002488  42A7                     clr.l      -[A7]
  3350. 0000248A  2F3C 0001 0003           move.l     -[A7], 0x10003
  3351. 00002490  3F2D F666                move.w     -[A7], [A5 - 0x99A]
  3352. 00002494  3F2D F664                move.w     -[A7], [A5 - 0x99C]
  3353. 00002498  3F3C 0149                move.w     -[A7], 0x149
  3354. 0000249C  4EBA 0750                jsr        [PC + 0x750 /* 00002BEE */]
  3355. 000024A0  7021                     moveq.l    D0, 0x21
  3356. 000024A2  2E80                     move.l     [A7], D0
  3357. 000024A4  A862                     syscall    ForeColor
  3358. 000024A6  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  3359. 000024AA  A873                     syscall    SetPort
  3360. 000024AC  4E5E                     unlink     A6
  3361. 000024AE  4E75                     rts
  3362. fn000024B0:
  3363. 000024B0  4E56 FFFC                link       A6, -0x0004
  3364. 000024B4  486E FFFC                pea.l      [A6 - 0x4]
  3365. 000024B8  A874                     syscall    GetPort
  3366. 000024BA  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  3367. 000024BE  A873                     syscall    SetPort
  3368. 000024C0  4EBA FF00                jsr        [PC - 0x100 /* 000023C2 */]
  3369. 000024C4  2F2D F6DE                move.l     -[A7], [A5 - 0x922]
  3370. 000024C8  A862                     syscall    ForeColor
  3371. 000024CA  42A7                     clr.l      -[A7]
  3372. 000024CC  2F3C 0001 0003           move.l     -[A7], 0x10003
  3373. 000024D2  3F2D F662                move.w     -[A7], [A5 - 0x99E]
  3374. 000024D6  3F2D F660                move.w     -[A7], [A5 - 0x9A0]
  3375. 000024DA  3F3C 0149                move.w     -[A7], 0x149
  3376. 000024DE  4EBA 070E                jsr        [PC + 0x70E /* 00002BEE */]
  3377. 000024E2  7021                     moveq.l    D0, 0x21
  3378. 000024E4  2E80                     move.l     [A7], D0
  3379. 000024E6  A862                     syscall    ForeColor
  3380. 000024E8  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  3381. 000024EC  A873                     syscall    SetPort
  3382. 000024EE  4E5E                     unlink     A6
  3383. 000024F0  4E75                     rts
  3384. fn000024F2:
  3385. 000024F2  4E56 FFF8                link       A6, -0x0008
  3386. 000024F6  486E FFF8                pea.l      [A6 - 0x8]
  3387. 000024FA  3F2D F660                move.w     -[A7], [A5 - 0x9A0]
  3388. 000024FE  3F2D F662                move.w     -[A7], [A5 - 0x99E]
  3389. 00002502  7020                     moveq.l    D0, 0x20
  3390. 00002504  D06D F660                add.w      D0, [A5 - 0x9A0]
  3391. 00002508  3F00                     move.w     -[A7], D0
  3392. 0000250A  7020                     moveq.l    D0, 0x20
  3393. 0000250C  D06D F662                add.w      D0, [A5 - 0x99E]
  3394. 00002510  3F00                     move.w     -[A7], D0
  3395. 00002512  A8A7                     syscall    SetRect
  3396. 00002514  4878 0199                push.l     0x199
  3397. 00002518  A862                     syscall    ForeColor
  3398. 0000251A  486E FFF8                pea.l      [A6 - 0x8]
  3399. 0000251E  486D F9AC                pea.l      [A5 - 0x654]
  3400. 00002522  A8A5                     syscall    FillRect
  3401. 00002524  4878 0021                push.l     0x21 /* '!' */
  3402. 00002528  A862                     syscall    ForeColor
  3403. 0000252A  4E5E                     unlink     A6
  3404. 0000252C  4E75                     rts
  3405. fn0000252E:
  3406. 0000252E  4E56 FFF4                link       A6, -0x000C
  3407. 00002532  48E7 0700                movem.l    -[A7], D5,D6,D7
  3408. 00002536  3E2E 000A                move.w     D7, [A6 + 0xA]
  3409. 0000253A  486E FFFC                pea.l      [A6 - 0x4]
  3410. 0000253E  A874                     syscall    GetPort
  3411. 00002540  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  3412. 00002544  A873                     syscall    SetPort
  3413. 00002546  302E 0008                move.w     D0, [A6 + 0x8]
  3414. 0000254A  0C40 000B                cmpi.w     D0, 0xB
  3415. 0000254E  6200 0334                bhi        +0x336 /* 00002884 */
  3416. 00002552  43FA 0346                lea.l      A1, [PC + 0x346 /* 0000289A, value 0xFF46FF2E */]
  3417. 00002556  D040                     add.w      D0, D0
  3418. 00002558  D2F1 0000                add.w      A1, [A1 + D0.w]
  3419. 0000255C  4ED1                     jmp        [A1]
  3420. 0000255E  486D F6D6                pea.l      [A5 - 0x92A]
  3421. 00002562  4EBA 0558                jsr        [PC + 0x558 /* 00002ABC */]
  3422. 00002566  588F                     addq.l     A7, 4
  3423. 00002568  6000 031A                bra        +0x31C /* 00002884 */
  3424. 0000256C  4A47                     tst.w      D7
  3425. 0000256E  6722                     beq        +0x24 /* 00002592 */
  3426. 00002570  2F3C 0001 0000           move.l     -[A7], 0x10000
  3427. 00002576  2F3C 0001 0014           move.l     -[A7], 0x10014
  3428. 0000257C  2F3C 0186 006F           move.l     -[A7], 0x186006F
  3429. 00002582  3F3C 0148                move.w     -[A7], 0x148
  3430. 00002586  4EBA 0666                jsr        [PC + 0x666 /* 00002BEE */]
  3431. 0000258A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3432. 0000258E  6000 02F4                bra        +0x2F6 /* 00002884 */
  3433. label00002592:
  3434. 00002592  2F3C 0001 0000           move.l     -[A7], 0x10000
  3435. 00002598  2F3C 0001 0003           move.l     -[A7], 0x10003
  3436. 0000259E  2F3C 0186 006F           move.l     -[A7], 0x186006F
  3437. 000025A4  3F3C 0148                move.w     -[A7], 0x148
  3438. 000025A8  4EBA 0644                jsr        [PC + 0x644 /* 00002BEE */]
  3439. 000025AC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3440. 000025B0  6000 02D2                bra        +0x2D4 /* 00002884 */
  3441. 000025B4  4A47                     tst.w      D7
  3442. 000025B6  6722                     beq        +0x24 /* 000025DA */
  3443. 000025B8  2F3C 0001 0000           move.l     -[A7], 0x10000
  3444. 000025BE  2F3C 0001 0014           move.l     -[A7], 0x10014
  3445. 000025C4  2F3C 0032 0082           move.l     -[A7], 0x320082
  3446. 000025CA  3F3C 0148                move.w     -[A7], 0x148
  3447. 000025CE  4EBA 061E                jsr        [PC + 0x61E /* 00002BEE */]
  3448. 000025D2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3449. 000025D6  6000 02AC                bra        +0x2AE /* 00002884 */
  3450. label000025DA:
  3451. 000025DA  2F3C 0001 0000           move.l     -[A7], 0x10000
  3452. 000025E0  2F3C 0001 0003           move.l     -[A7], 0x10003
  3453. 000025E6  2F3C 0032 0082           move.l     -[A7], 0x320082
  3454. 000025EC  3F3C 0148                move.w     -[A7], 0x148
  3455. 000025F0  4EBA 05FC                jsr        [PC + 0x5FC /* 00002BEE */]
  3456. 000025F4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3457. 000025F8  6000 028A                bra        +0x28C /* 00002884 */
  3458. 000025FC  4A47                     tst.w      D7
  3459. 000025FE  6722                     beq        +0x24 /* 00002622 */
  3460. 00002600  2F3C 0001 0000           move.l     -[A7], 0x10000
  3461. 00002606  2F3C 0001 0014           move.l     -[A7], 0x10014
  3462. 0000260C  2F3C 016D 008A           move.l     -[A7], 0x16D008A
  3463. 00002612  3F3C 014A                move.w     -[A7], 0x14A
  3464. 00002616  4EBA 05D6                jsr        [PC + 0x5D6 /* 00002BEE */]
  3465. 0000261A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3466. 0000261E  6000 0264                bra        +0x266 /* 00002884 */
  3467. label00002622:
  3468. 00002622  2F3C 0001 0000           move.l     -[A7], 0x10000
  3469. 00002628  2F3C 0001 0003           move.l     -[A7], 0x10003
  3470. 0000262E  2F3C 016D 008A           move.l     -[A7], 0x16D008A
  3471. 00002634  3F3C 014A                move.w     -[A7], 0x14A
  3472. 00002638  4EBA 05B4                jsr        [PC + 0x5B4 /* 00002BEE */]
  3473. 0000263C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3474. 00002640  6000 0242                bra        +0x244 /* 00002884 */
  3475. 00002644  4A47                     tst.w      D7
  3476. 00002646  6722                     beq        +0x24 /* 0000266A */
  3477. 00002648  2F3C 0001 0000           move.l     -[A7], 0x10000
  3478. 0000264E  2F3C 0001 0014           move.l     -[A7], 0x10014
  3479. 00002654  2F3C 0118 0099           move.l     -[A7], 0x1180099
  3480. 0000265A  3F3C 014A                move.w     -[A7], 0x14A
  3481. 0000265E  4EBA 058E                jsr        [PC + 0x58E /* 00002BEE */]
  3482. 00002662  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3483. 00002666  6000 021C                bra        +0x21E /* 00002884 */
  3484. label0000266A:
  3485. 0000266A  2F3C 0001 0000           move.l     -[A7], 0x10000
  3486. 00002670  2F3C 0001 0003           move.l     -[A7], 0x10003
  3487. 00002676  2F3C 0118 0099           move.l     -[A7], 0x1180099
  3488. 0000267C  3F3C 014A                move.w     -[A7], 0x14A
  3489. 00002680  4EBA 056C                jsr        [PC + 0x56C /* 00002BEE */]
  3490. 00002684  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3491. 00002688  6000 01FA                bra        +0x1FC /* 00002884 */
  3492. 0000268C  4A47                     tst.w      D7
  3493. 0000268E  6722                     beq        +0x24 /* 000026B2 */
  3494. 00002690  2F3C 0001 0000           move.l     -[A7], 0x10000
  3495. 00002696  2F3C 0001 0014           move.l     -[A7], 0x10014
  3496. 0000269C  2F3C 0148 0096           move.l     -[A7], 0x1480096
  3497. 000026A2  3F3C 014A                move.w     -[A7], 0x14A
  3498. 000026A6  4EBA 0546                jsr        [PC + 0x546 /* 00002BEE */]
  3499. 000026AA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3500. 000026AE  6000 01D4                bra        +0x1D6 /* 00002884 */
  3501. label000026B2:
  3502. 000026B2  2F3C 0001 0000           move.l     -[A7], 0x10000
  3503. 000026B8  2F3C 0001 0003           move.l     -[A7], 0x10003
  3504. 000026BE  2F3C 0148 0096           move.l     -[A7], 0x1480096
  3505. 000026C4  3F3C 014A                move.w     -[A7], 0x14A
  3506. 000026C8  4EBA 0524                jsr        [PC + 0x524 /* 00002BEE */]
  3507. 000026CC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3508. 000026D0  6000 01B2                bra        +0x1B4 /* 00002884 */
  3509. 000026D4  4A47                     tst.w      D7
  3510. 000026D6  6722                     beq        +0x24 /* 000026FA */
  3511. 000026D8  2F3C 0001 0000           move.l     -[A7], 0x10000
  3512. 000026DE  2F3C 0001 0014           move.l     -[A7], 0x10014
  3513. 000026E4  2F3C 006C 009B           move.l     -[A7], 0x6C009B
  3514. 000026EA  3F3C 014A                move.w     -[A7], 0x14A
  3515. 000026EE  4EBA 04FE                jsr        [PC + 0x4FE /* 00002BEE */]
  3516. 000026F2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3517. 000026F6  6000 018C                bra        +0x18E /* 00002884 */
  3518. label000026FA:
  3519. 000026FA  2F3C 0001 0000           move.l     -[A7], 0x10000
  3520. 00002700  2F3C 0001 0003           move.l     -[A7], 0x10003
  3521. 00002706  2F3C 006C 009B           move.l     -[A7], 0x6C009B
  3522. 0000270C  3F3C 014A                move.w     -[A7], 0x14A
  3523. 00002710  4EBA 04DC                jsr        [PC + 0x4DC /* 00002BEE */]
  3524. 00002714  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3525. 00002718  6000 016A                bra        +0x16C /* 00002884 */
  3526. 0000271C  4A47                     tst.w      D7
  3527. 0000271E  6722                     beq        +0x24 /* 00002742 */
  3528. 00002720  2F3C 0001 0001           move.l     -[A7], 0x10001
  3529. 00002726  2F3C 0001 000F           move.l     -[A7], 0x1000F
  3530. 0000272C  2F3C 0094 005D           move.l     -[A7], 0x94005D
  3531. 00002732  3F3C 0100                move.w     -[A7], 0x100
  3532. 00002736  4EBA 05B6                jsr        [PC + 0x5B6 /* 00002CEE */]
  3533. 0000273A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3534. 0000273E  6000 0144                bra        +0x146 /* 00002884 */
  3535. label00002742:
  3536. 00002742  42A7                     clr.l      -[A7]
  3537. 00002744  2F3C 0001 0003           move.l     -[A7], 0x10003
  3538. 0000274A  2F3C 0094 005D           move.l     -[A7], 0x94005D
  3539. 00002750  3F3C 0100                move.w     -[A7], 0x100
  3540. 00002754  4EBA 0598                jsr        [PC + 0x598 /* 00002CEE */]
  3541. 00002758  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3542. 0000275C  6000 0126                bra        +0x128 /* 00002884 */
  3543. 00002760  4A47                     tst.w      D7
  3544. 00002762  660A                     bne        +0xC /* 0000276E */
  3545. 00002764  0C6D 0001 E67C           cmpi.w     [A5 - 0x1984], 0x1
  3546. 0000276A  6F00 0118                ble        +0x11A /* 00002884 */
  3547. label0000276E:
  3548. 0000276E  4EBA FD40                jsr        [PC - 0x2C0 /* 000024B0 */]
  3549. 00002772  6000 0110                bra        +0x112 /* 00002884 */
  3550. 00002776  4878 001E                push.l     0x1E
  3551. 0000277A  A862                     syscall    ForeColor
  3552. 0000277C  4A47                     tst.w      D7
  3553. 0000277E  6720                     beq        +0x22 /* 000027A0 */
  3554. 00002780  2F3C 0001 0000           move.l     -[A7], 0x10000
  3555. 00002786  2F3C 0001 0014           move.l     -[A7], 0x10014
  3556. 0000278C  2F3C 00E1 0071           move.l     -[A7], 0xE10071
  3557. 00002792  3F3C 0083                move.w     -[A7], 0x83
  3558. 00002796  4EBA 0456                jsr        [PC + 0x456 /* 00002BEE */]
  3559. 0000279A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3560. 0000279E  601E                     bra        +0x20 /* 000027BE */
  3561. label000027A0:
  3562. 000027A0  2F3C 0001 0000           move.l     -[A7], 0x10000
  3563. 000027A6  2F3C 0001 0003           move.l     -[A7], 0x10003
  3564. 000027AC  2F3C 00E1 0071           move.l     -[A7], 0xE10071
  3565. 000027B2  3F3C 0083                move.w     -[A7], 0x83
  3566. 000027B6  4EBA 0436                jsr        [PC + 0x436 /* 00002BEE */]
  3567. 000027BA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3568. label000027BE:
  3569. 000027BE  4878 0021                push.l     0x21 /* '!' */
  3570. 000027C2  A862                     syscall    ForeColor
  3571. 000027C4  6000 00BE                bra        +0xC0 /* 00002884 */
  3572. 000027C8  4A47                     tst.w      D7
  3573. 000027CA  6708                     beq        +0xA /* 000027D4 */
  3574. 000027CC  4EBA FC10                jsr        [PC - 0x3F0 /* 000023DE */]
  3575. 000027D0  6000 00B2                bra        +0xB4 /* 00002884 */
  3576. label000027D4:
  3577. 000027D4  4EBA FD1C                jsr        [PC - 0x2E4 /* 000024F2 */]
  3578. 000027D8  4EBA FC94                jsr        [PC - 0x36C /* 0000246E */]
  3579. 000027DC  6000 00A6                bra        +0xA8 /* 00002884 */
  3580. 000027E0  486E FFF4                pea.l      [A6 - 0xC]
  3581. 000027E4  2F3C 0071 00E1           move.l     -[A7], 0x7100E1
  3582. 000027EA  2F3C 0091 0101           move.l     -[A7], 0x910101
  3583. 000027F0  A8A7                     syscall    SetRect
  3584. 000027F2  7C00                     moveq.l    D6, 0x00
  3585. 000027F4  604E                     bra        +0x50 /* 00002844 */
  3586. label000027F6:
  3587. 000027F6  7A00                     moveq.l    D5, 0x00
  3588. 000027F8  6042                     bra        +0x44 /* 0000283C */
  3589. label000027FA:
  3590. 000027FA  4878 0199                push.l     0x199
  3591. 000027FE  A862                     syscall    ForeColor
  3592. 00002800  486E FFF4                pea.l      [A6 - 0xC]
  3593. 00002804  486D F9AC                pea.l      [A5 - 0x654]
  3594. 00002808  A8A5                     syscall    FillRect
  3595. 0000280A  4878 001E                push.l     0x1E
  3596. 0000280E  A862                     syscall    ForeColor
  3597. 00002810  2F3C 0001 0000           move.l     -[A7], 0x10000
  3598. 00002816  2F3C 0001 0003           move.l     -[A7], 0x10003
  3599. 0000281C  2F3C 00E1 0071           move.l     -[A7], 0xE10071
  3600. 00002822  3005                     move.w     D0, D5
  3601. 00002824  0640 0083                addi.w     D0, 0x83
  3602. 00002828  3F00                     move.w     -[A7], D0
  3603. 0000282A  4EBA 03C2                jsr        [PC + 0x3C2 /* 00002BEE */]
  3604. 0000282E  3EBC 0002                move.w     [A7], 0x2
  3605. 00002832  4EBA F762                jsr        [PC - 0x89E /* 00001F96 */]
  3606. 00002836  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3607. 0000283A  5245                     addq.w     D5, 1
  3608. label0000283C:
  3609. 0000283C  0C45 0008                cmpi.w     D5, 0x8
  3610. 00002840  6DB8                     blt        -0x46 /* 000027FA */
  3611. 00002842  5246                     addq.w     D6, 1
  3612. label00002844:
  3613. 00002844  0C46 0011                cmpi.w     D6, 0x11
  3614. 00002848  6DAC                     blt        -0x52 /* 000027F6 */
  3615. 0000284A  4878 0199                push.l     0x199
  3616. 0000284E  A862                     syscall    ForeColor
  3617. 00002850  486E FFF4                pea.l      [A6 - 0xC]
  3618. 00002854  486D F9AC                pea.l      [A5 - 0x654]
  3619. 00002858  A8A5                     syscall    FillRect
  3620. 0000285A  4878 001E                push.l     0x1E
  3621. 0000285E  A862                     syscall    ForeColor
  3622. 00002860  2F3C 0001 0000           move.l     -[A7], 0x10000
  3623. 00002866  2F3C 0001 0003           move.l     -[A7], 0x10003
  3624. 0000286C  2F3C 00E1 0071           move.l     -[A7], 0xE10071
  3625. 00002872  3F3C 0087                move.w     -[A7], 0x87
  3626. 00002876  4EBA 0376                jsr        [PC + 0x376 /* 00002BEE */]
  3627. 0000287A  7021                     moveq.l    D0, 0x21
  3628. 0000287C  2E80                     move.l     [A7], D0
  3629. 0000287E  A862                     syscall    ForeColor
  3630. 00002880  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3631. label00002884:
  3632. 00002884  4878 0021                push.l     0x21 /* '!' */
  3633. 00002888  A862                     syscall    ForeColor
  3634. 0000288A  A89E                     syscall    PenNormal
  3635. 0000288C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3636. 00002890  A873                     syscall    SetPort
  3637. 00002892  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  3638. 00002896  4E5E                     unlink     A6
  3639. 00002898  4E75                     rts
  3640. 0000289A  FF46                     .extension 0xF46 <<F/4-5/7>> // unimplemented
  3641. 0000289C  FF2E                     .extension 0xF2E <<F/4-5/7>> // unimplemented
  3642. 0000289E  FEDC FEC6                .extension 0xEDC <<F/2-3/7>> // unimplemented
  3643. 000028A2  FE82 FE3A                .extension 0xE82 <<F/2-3/7>> // unimplemented
  3644. 000028A6  FDF2                     .invalid   <<F/7/6>>
  3645. 000028A8  FDAA                     .invalid   <<F/6/6>>
  3646. 000028AA  FD62                     .extension 0xD62 <<F/4-5/6>> // unimplemented
  3647. 000028AC  FD1A                     .extension 0xD1A <<F/4-5/6>> // unimplemented
  3648. 000028AE  FCD2 FCC4                .extension 0xCD2 <<F/2-3/6>> // unimplemented
  3649. fn000028B2:
  3650. 000028B2  48E7 0700                movem.l    -[A7], D5,D6,D7
  3651. 000028B6  7C06                     moveq.l    D6, 0x06
  3652. 000028B8  3A3C 00EE                move.w     D5, 0xEE
  3653. 000028BC  7E00                     moveq.l    D7, 0x00
  3654. 000028BE  6060                     bra        +0x62 /* 00002920 */
  3655. label000028C0:
  3656. 000028C0  204D                     movea.l    A0, A5
  3657. 000028C2  2007                     move.l     D0, D7
  3658. 000028C4  48C0                     ext.l      D0
  3659. 000028C6  E788                     lsl        D0, 3
  3660. 000028C8  D1C0                     add.l      A0, D0
  3661. 000028CA  3145 E6A2                move.w     [A0 - 0x195E], D5
  3662. 000028CE  204D                     movea.l    A0, A5
  3663. 000028D0  2007                     move.l     D0, D7
  3664. 000028D2  48C0                     ext.l      D0
  3665. 000028D4  E788                     lsl        D0, 3
  3666. 000028D6  D1C0                     add.l      A0, D0
  3667. 000028D8  7020                     moveq.l    D0, 0x20
  3668. 000028DA  D068 E6A2                add.w      D0, [A0 - 0x195E]
  3669. 000028DE  204D                     movea.l    A0, A5
  3670. 000028E0  2207                     move.l     D1, D7
  3671. 000028E2  48C1                     ext.l      D1
  3672. 000028E4  E789                     lsl        D1, 3
  3673. 000028E6  D1C1                     add.l      A0, D1
  3674. 000028E8  3140 E6A6                move.w     [A0 - 0x195A], D0
  3675. 000028EC  7023                     moveq.l    D0, 0x23
  3676. 000028EE  C1C7                     muls.w     D0, D7
  3677. 000028F0  D046                     add.w      D0, D6
  3678. 000028F2  204D                     movea.l    A0, A5
  3679. 000028F4  2207                     move.l     D1, D7
  3680. 000028F6  48C1                     ext.l      D1
  3681. 000028F8  E789                     lsl        D1, 3
  3682. 000028FA  D1C1                     add.l      A0, D1
  3683. 000028FC  3140 E6A4                move.w     [A0 - 0x195C], D0
  3684. 00002900  204D                     movea.l    A0, A5
  3685. 00002902  2007                     move.l     D0, D7
  3686. 00002904  48C0                     ext.l      D0
  3687. 00002906  E788                     lsl        D0, 3
  3688. 00002908  D1C0                     add.l      A0, D0
  3689. 0000290A  7020                     moveq.l    D0, 0x20
  3690. 0000290C  D068 E6A4                add.w      D0, [A0 - 0x195C]
  3691. 00002910  204D                     movea.l    A0, A5
  3692. 00002912  2207                     move.l     D1, D7
  3693. 00002914  48C1                     ext.l      D1
  3694. 00002916  E789                     lsl        D1, 3
  3695. 00002918  D1C1                     add.l      A0, D1
  3696. 0000291A  3140 E6A8                move.w     [A0 - 0x1958], D0
  3697. 0000291E  5247                     addq.w     D7, 1
  3698. label00002920:
  3699. 00002920  0C47 000D                cmpi.w     D7, 0xD /* '\r' */
  3700. 00002924  6D9A                     blt        -0x64 /* 000028C0 */
  3701. 00002926  7E0D                     moveq.l    D7, 0x0D
  3702. 00002928  6068                     bra        +0x6A /* 00002992 */
  3703. label0000292A:
  3704. 0000292A  7023                     moveq.l    D0, 0x23
  3705. 0000292C  D045                     add.w      D0, D5
  3706. 0000292E  204D                     movea.l    A0, A5
  3707. 00002930  2207                     move.l     D1, D7
  3708. 00002932  48C1                     ext.l      D1
  3709. 00002934  E789                     lsl        D1, 3
  3710. 00002936  D1C1                     add.l      A0, D1
  3711. 00002938  3140 E6A2                move.w     [A0 - 0x195E], D0
  3712. 0000293C  204D                     movea.l    A0, A5
  3713. 0000293E  2007                     move.l     D0, D7
  3714. 00002940  48C0                     ext.l      D0
  3715. 00002942  E788                     lsl        D0, 3
  3716. 00002944  D1C0                     add.l      A0, D0
  3717. 00002946  7020                     moveq.l    D0, 0x20
  3718. 00002948  D068 E6A2                add.w      D0, [A0 - 0x195E]
  3719. 0000294C  204D                     movea.l    A0, A5
  3720. 0000294E  2207                     move.l     D1, D7
  3721. 00002950  48C1                     ext.l      D1
  3722. 00002952  E789                     lsl        D1, 3
  3723. 00002954  D1C1                     add.l      A0, D1
  3724. 00002956  3140 E6A6                move.w     [A0 - 0x195A], D0
  3725. 0000295A  70F3                     moveq.l    D0, 0xFFFFFFF3
  3726. 0000295C  D047                     add.w      D0, D7
  3727. 0000295E  C1FC 0023                muls.w     D0, 0x23 /* '#' */
  3728. 00002962  D046                     add.w      D0, D6
  3729. 00002964  204D                     movea.l    A0, A5
  3730. 00002966  2207                     move.l     D1, D7
  3731. 00002968  48C1                     ext.l      D1
  3732. 0000296A  E789                     lsl        D1, 3
  3733. 0000296C  D1C1                     add.l      A0, D1
  3734. 0000296E  3140 E6A4                move.w     [A0 - 0x195C], D0
  3735. 00002972  204D                     movea.l    A0, A5
  3736. 00002974  2007                     move.l     D0, D7
  3737. 00002976  48C0                     ext.l      D0
  3738. 00002978  E788                     lsl        D0, 3
  3739. 0000297A  D1C0                     add.l      A0, D0
  3740. 0000297C  7020                     moveq.l    D0, 0x20
  3741. 0000297E  D068 E6A4                add.w      D0, [A0 - 0x195C]
  3742. 00002982  204D                     movea.l    A0, A5
  3743. 00002984  2207                     move.l     D1, D7
  3744. 00002986  48C1                     ext.l      D1
  3745. 00002988  E789                     lsl        D1, 3
  3746. 0000298A  D1C1                     add.l      A0, D1
  3747. 0000298C  3140 E6A8                move.w     [A0 - 0x1958], D0
  3748. 00002990  5247                     addq.w     D7, 1
  3749. label00002992:
  3750. 00002992  0C47 001A                cmpi.w     D7, 0x1A
  3751. 00002996  6D92                     blt        -0x6C /* 0000292A */
  3752. 00002998  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  3753. 0000299C  4E75                     rts
  3754. fn0000299E:
  3755. 0000299E  4E56 FFFC                link       A6, -0x0004
  3756. 000029A2  2F07                     move.l     -[A7], D7
  3757. 000029A4  3E2E 0008                move.w     D7, [A6 + 0x8]
  3758. 000029A8  204D                     movea.l    A0, A5
  3759. 000029AA  D0C7                     add.w      A0, D7
  3760. 000029AC  D0C7                     add.w      A0, D7
  3761. 000029AE  4A68 E648                tst.w      [A0 - 0x19B8]
  3762. 000029B2  660A                     bne        +0xC /* 000029BE */
  3763. 000029B4  3F07                     move.w     -[A7], D7
  3764. 000029B6  4EBA 0076                jsr        [PC + 0x76 /* 00002A2E */]
  3765. 000029BA  548F                     addq.l     A7, 2
  3766. 000029BC  606A                     bra        +0x6C /* 00002A28 */
  3767. label000029BE:
  3768. 000029BE  4A6E 000A                tst.w      [A6 + 0xA]
  3769. 000029C2  6732                     beq        +0x34 /* 000029F6 */
  3770. 000029C4  2F3C 0001 0001           move.l     -[A7], 0x10001
  3771. 000029CA  42A7                     clr.l      -[A7]
  3772. 000029CC  204D                     movea.l    A0, A5
  3773. 000029CE  2007                     move.l     D0, D7
  3774. 000029D0  48C0                     ext.l      D0
  3775. 000029D2  E788                     lsl        D0, 3
  3776. 000029D4  D1C0                     add.l      A0, D0
  3777. 000029D6  3F28 E6A2                move.w     -[A7], [A0 - 0x195E]
  3778. 000029DA  204D                     movea.l    A0, A5
  3779. 000029DC  2007                     move.l     D0, D7
  3780. 000029DE  48C0                     ext.l      D0
  3781. 000029E0  E788                     lsl        D0, 3
  3782. 000029E2  D1C0                     add.l      A0, D0
  3783. 000029E4  3F28 E6A4                move.w     -[A7], [A0 - 0x195C]
  3784. 000029E8  3F3C 0147                move.w     -[A7], 0x147
  3785. 000029EC  4EBA 0200                jsr        [PC + 0x200 /* 00002BEE */]
  3786. 000029F0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3787. 000029F4  6032                     bra        +0x34 /* 00002A28 */
  3788. label000029F6:
  3789. 000029F6  2F3C 0001 0000           move.l     -[A7], 0x10000
  3790. 000029FC  4878 0003                push.l     0x3
  3791. 00002A00  204D                     movea.l    A0, A5
  3792. 00002A02  2007                     move.l     D0, D7
  3793. 00002A04  48C0                     ext.l      D0
  3794. 00002A06  E788                     lsl        D0, 3
  3795. 00002A08  D1C0                     add.l      A0, D0
  3796. 00002A0A  3F28 E6A2                move.w     -[A7], [A0 - 0x195E]
  3797. 00002A0E  204D                     movea.l    A0, A5
  3798. 00002A10  2007                     move.l     D0, D7
  3799. 00002A12  48C0                     ext.l      D0
  3800. 00002A14  E788                     lsl        D0, 3
  3801. 00002A16  D1C0                     add.l      A0, D0
  3802. 00002A18  3F28 E6A4                move.w     -[A7], [A0 - 0x195C]
  3803. 00002A1C  3F3C 0147                move.w     -[A7], 0x147
  3804. 00002A20  4EBA 01CC                jsr        [PC + 0x1CC /* 00002BEE */]
  3805. 00002A24  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3806. label00002A28:
  3807. 00002A28  2E1F                     move.l     D7, [A7]+
  3808. 00002A2A  4E5E                     unlink     A6
  3809. 00002A2C  4E75                     rts
  3810. fn00002A2E:
  3811. 00002A2E  4E56 0000                link       A6, 0
  3812. 00002A32  2F0C                     move.l     -[A7], A4
  3813. 00002A34  42A7                     clr.l      -[A7]
  3814. 00002A36  302E 0008                move.w     D0, [A6 + 0x8]
  3815. 00002A3A  0640 012D                addi.w     D0, 0x12D
  3816. 00002A3E  3F00                     move.w     -[A7], D0
  3817. 00002A40  A9BB                     syscall    GetIcon
  3818. 00002A42  285F                     movea.l    A4, [A7]+
  3819. 00002A44  200C                     move.l     D0, A4
  3820. 00002A46  676E                     beq        +0x70 /* 00002AB6 */
  3821. 00002A48  204C                     movea.l    A0, A4
  3822. 00002A4A  A029                     syscall    HLock
  3823. 00002A4C  302D E62A                move.w     D0, [A5 - 0x19D6]
  3824. 00002A50  204D                     movea.l    A0, A5
  3825. 00002A52  48C0                     ext.l      D0
  3826. 00002A54  E588                     lsl        D0, 2
  3827. 00002A56  D1C0                     add.l      A0, D0
  3828. 00002A58  2F28 E60A                move.l     -[A7], [A0 - 0x19F6]
  3829. 00002A5C  A862                     syscall    ForeColor
  3830. 00002A5E  302D E62C                move.w     D0, [A5 - 0x19D4]
  3831. 00002A62  204D                     movea.l    A0, A5
  3832. 00002A64  48C0                     ext.l      D0
  3833. 00002A66  E588                     lsl        D0, 2
  3834. 00002A68  D1C0                     add.l      A0, D0
  3835. 00002A6A  2F28 E60A                move.l     -[A7], [A0 - 0x19F6]
  3836. 00002A6E  A863                     syscall    BackColor
  3837. 00002A70  204D                     movea.l    A0, A5
  3838. 00002A72  302E 0008                move.w     D0, [A6 + 0x8]
  3839. 00002A76  48C0                     ext.l      D0
  3840. 00002A78  E788                     lsl        D0, 3
  3841. 00002A7A  D1C0                     add.l      A0, D0
  3842. 00002A7C  4868 E6A2                pea.l      [A0 - 0x195E]
  3843. 00002A80  2F0C                     move.l     -[A7], A4
  3844. 00002A82  A94B                     syscall    PlotIcon
  3845. 00002A84  4878 0021                push.l     0x21 /* '!' */
  3846. 00002A88  A862                     syscall    ForeColor
  3847. 00002A8A  4878 001E                push.l     0x1E
  3848. 00002A8E  A863                     syscall    BackColor
  3849. 00002A90  2F3C 0002 0002           move.l     -[A7], 0x20002
  3850. 00002A96  A89B                     syscall    PenSize
  3851. 00002A98  204D                     movea.l    A0, A5
  3852. 00002A9A  302E 0008                move.w     D0, [A6 + 0x8]
  3853. 00002A9E  48C0                     ext.l      D0
  3854. 00002AA0  E788                     lsl        D0, 3
  3855. 00002AA2  D1C0                     add.l      A0, D0
  3856. 00002AA4  4868 E6A2                pea.l      [A0 - 0x195E]
  3857. 00002AA8  A8A1                     syscall    FrameRect
  3858. 00002AAA  4878 0021                push.l     0x21 /* '!' */
  3859. 00002AAE  A862                     syscall    ForeColor
  3860. 00002AB0  A89E                     syscall    PenNormal
  3861. 00002AB2  204C                     movea.l    A0, A4
  3862. 00002AB4  A02A                     syscall    HUnlock
  3863. label00002AB6:
  3864. 00002AB6  285F                     movea.l    A4, [A7]+
  3865. 00002AB8  4E5E                     unlink     A6
  3866. 00002ABA  4E75                     rts
  3867. fn00002ABC:
  3868. 00002ABC  4E56 FFF8                link       A6, -0x0008
  3869. 00002AC0  48E7 0018                movem.l    -[A7], A3,A4
  3870. 00002AC4  206E 0008                movea.l    A0, [A6 + 0x8]
  3871. 00002AC8  2D50 FFF8                move.l     [A6 - 0x8], [A0]
  3872. 00002ACC  2D68 0004 FFFC           move.l     [A6 - 0x4], [A0 + 0x4]
  3873. 00002AD2  42A7                     clr.l      -[A7]
  3874. 00002AD4  A8D8                     syscall    NewRgn
  3875. 00002AD6  285F                     movea.l    A4, [A7]+
  3876. 00002AD8  A8DA                     syscall    OpenRgn
  3877. 00002ADA  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3878. 00002ADE  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3879. 00002AE2  A893                     syscall    MoveTo
  3880. 00002AE4  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3881. 00002AE8  70EC                     moveq.l    D0, 0xFFFFFFEC
  3882. 00002AEA  D06E FFFC                add.w      D0, [A6 - 0x4]
  3883. 00002AEE  3F00                     move.w     -[A7], D0
  3884. 00002AF0  A891                     syscall    LineTo
  3885. 00002AF2  4878 0014                push.l     0x14
  3886. 00002AF6  A892                     syscall    Line
  3887. 00002AF8  2F3C FFF6 0014           move.l     -[A7], 0xFFF60014
  3888. 00002AFE  A892                     syscall    Line
  3889. 00002B00  2F3C 0005 0014           move.l     -[A7], 0x50014
  3890. 00002B06  A892                     syscall    Line
  3891. 00002B08  2F3C FFF6 0028           move.l     -[A7], 0xFFF60028
  3892. 00002B0E  A892                     syscall    Line
  3893. 00002B10  2F3C 0005 001E           move.l     -[A7], 0x5001E
  3894. 00002B16  A892                     syscall    Line
  3895. 00002B18  2F3C FFF6 0032           move.l     -[A7], 0xFFF60032
  3896. 00002B1E  A892                     syscall    Line
  3897. 00002B20  2F3C 000A 001E           move.l     -[A7], 0xA001E
  3898. 00002B26  A892                     syscall    Line
  3899. 00002B28  2F3C 0002 0028           move.l     -[A7], 0x20028
  3900. 00002B2E  A892                     syscall    Line
  3901. 00002B30  2F3C FFEC 003C           move.l     -[A7], 0xFFEC003C
  3902. 00002B36  A892                     syscall    Line
  3903. 00002B38  2F3C 0005 0032           move.l     -[A7], 0x50032
  3904. 00002B3E  A892                     syscall    Line
  3905. 00002B40  2F3C FFFB 0028           move.l     -[A7], 0xFFFB0028
  3906. 00002B46  A892                     syscall    Line
  3907. 00002B48  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3908. 00002B4C  7055                     moveq.l    D0, 0x55
  3909. 00002B4E  D06E FFF8                add.w      D0, [A6 - 0x8]
  3910. 00002B52  3F00                     move.w     -[A7], D0
  3911. 00002B54  A891                     syscall    LineTo
  3912. 00002B56  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3913. 00002B5A  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3914. 00002B5E  A891                     syscall    LineTo
  3915. 00002B60  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3916. 00002B64  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3917. 00002B68  A891                     syscall    LineTo
  3918. 00002B6A  2F0C                     move.l     -[A7], A4
  3919. 00002B6C  A8DB                     syscall    CloseRgn
  3920. 00002B6E  4878 0199                push.l     0x199
  3921. 00002B72  A862                     syscall    ForeColor
  3922. 00002B74  2F0C                     move.l     -[A7], A4
  3923. 00002B76  486D F9AC                pea.l      [A5 - 0x654]
  3924. 00002B7A  A8D6                     syscall    FillRgn
  3925. 00002B7C  42A7                     clr.l      -[A7]
  3926. 00002B7E  A8D8                     syscall    NewRgn
  3927. 00002B80  265F                     movea.l    A3, [A7]+
  3928. 00002B82  A8DA                     syscall    OpenRgn
  3929. 00002B84  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3930. 00002B88  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3931. 00002B8C  A893                     syscall    MoveTo
  3932. 00002B8E  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3933. 00002B92  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  3934. 00002B96  A891                     syscall    LineTo
  3935. 00002B98  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3936. 00002B9C  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  3937. 00002BA0  A891                     syscall    LineTo
  3938. 00002BA2  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  3939. 00002BA6  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3940. 00002BAA  A891                     syscall    LineTo
  3941. 00002BAC  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3942. 00002BB0  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3943. 00002BB4  A891                     syscall    LineTo
  3944. 00002BB6  2F0B                     move.l     -[A7], A3
  3945. 00002BB8  A8DB                     syscall    CloseRgn
  3946. 00002BBA  2F0B                     move.l     -[A7], A3
  3947. 00002BBC  2F0C                     move.l     -[A7], A4
  3948. 00002BBE  2F0B                     move.l     -[A7], A3
  3949. 00002BC0  A8E6                     syscall    DiffRgn
  3950. 00002BC2  4878 0155                push.l     0x155
  3951. 00002BC6  A862                     syscall    ForeColor
  3952. 00002BC8  2F0B                     move.l     -[A7], A3
  3953. 00002BCA  486D F9BC                pea.l      [A5 - 0x644]
  3954. 00002BCE  A8D6                     syscall    FillRgn
  3955. 00002BD0  4878 0021                push.l     0x21 /* '!' */
  3956. 00002BD4  A862                     syscall    ForeColor
  3957. 00002BD6  2F0C                     move.l     -[A7], A4
  3958. 00002BD8  A8D2                     syscall    FrameRgn
  3959. 00002BDA  2F0B                     move.l     -[A7], A3
  3960. 00002BDC  A8D2                     syscall    FrameRgn
  3961. 00002BDE  2F0C                     move.l     -[A7], A4
  3962. 00002BE0  A8D9                     syscall    DisposRgn/DisposeRgn
  3963. 00002BE2  2F0B                     move.l     -[A7], A3
  3964. 00002BE4  A8D9                     syscall    DisposRgn/DisposeRgn
  3965. 00002BE6  4CDF 1800                movem.l    A3,A4, [A7]+
  3966. 00002BEA  4E5E                     unlink     A6
  3967. 00002BEC  4E75                     rts
  3968. fn00002BEE:
  3969. 00002BEE  4E56 FF88                link       A6, -0x0078
  3970. 00002BF2  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  3971. 00002BF6  3E2E 000A                move.w     D7, [A6 + 0xA]
  3972. 00002BFA  3C2E 000C                move.w     D6, [A6 + 0xC]
  3973. 00002BFE  486E FF88                pea.l      [A6 - 0x78]
  3974. 00002C02  A874                     syscall    GetPort
  3975. 00002C04  3D47 FFFA                move.w     [A6 - 0x6], D7
  3976. 00002C08  7020                     moveq.l    D0, 0x20
  3977. 00002C0A  D047                     add.w      D0, D7
  3978. 00002C0C  3D40 FFFE                move.w     [A6 - 0x2], D0
  3979. 00002C10  3D46 FFF8                move.w     [A6 - 0x8], D6
  3980. 00002C14  7020                     moveq.l    D0, 0x20
  3981. 00002C16  D046                     add.w      D0, D6
  3982. 00002C18  3D40 FFFC                move.w     [A6 - 0x4], D0
  3983. 00002C1C  3A2E FFFE                move.w     D5, [A6 - 0x2]
  3984. 00002C20  9A6E FFFA                sub.w      D5, [A6 - 0x6]
  3985. 00002C24  700F                     moveq.l    D0, 0x0F
  3986. 00002C26  DA40                     add.w      D5, D0
  3987. 00002C28  48C5                     ext.l      D5
  3988. 00002C2A  8BFC 0010                divs.w     D5, 0x10
  3989. 00002C2E  DA45                     add.w      D5, D5
  3990. 00002C30  382E FFFC                move.w     D4, [A6 - 0x4]
  3991. 00002C34  986E FFF8                sub.w      D4, [A6 - 0x8]
  3992. 00002C38  C9C5                     muls.w     D4, D5
  3993. 00002C3A  486E FF8C                pea.l      [A6 - 0x74]
  3994. 00002C3E  A86F                     syscall    OpenPort
  3995. 00002C40  2F2E FF88                move.l     -[A7], [A6 - 0x78]
  3996. 00002C44  A873                     syscall    SetPort
  3997. 00002C46  486E FFF8                pea.l      [A6 - 0x8]
  3998. 00002C4A  3007                     move.w     D0, D7
  3999. 00002C4C  4440                     neg.w      D0
  4000. 00002C4E  3F00                     move.w     -[A7], D0
  4001. 00002C50  3006                     move.w     D0, D6
  4002. 00002C52  4440                     neg.w      D0
  4003. 00002C54  3F00                     move.w     -[A7], D0
  4004. 00002C56  A8A8                     syscall    OffsetRect
  4005. 00002C58  2D6E FFF8 FF94           move.l     [A6 - 0x6C], [A6 - 0x8]
  4006. 00002C5E  2D6E FFFC FF98           move.l     [A6 - 0x68], [A6 - 0x4]
  4007. 00002C64  3D45 FF92                move.w     [A6 - 0x6E], D5
  4008. 00002C68  2004                     move.l     D0, D4
  4009. 00002C6A  A11E                     syscall    NewPtr, flags=1
  4010. 00002C6C  2D48 FF8E                move.l     [A6 - 0x72], A0
  4011. 00002C70  486E FF8C                pea.l      [A6 - 0x74]
  4012. 00002C74  A873                     syscall    SetPort
  4013. 00002C76  486E FFF8                pea.l      [A6 - 0x8]
  4014. 00002C7A  A8A3                     syscall    EraseRect
  4015. 00002C7C  42A7                     clr.l      -[A7]
  4016. 00002C7E  2F3C 4943 4F4E           move.l     -[A7], 0x49434F4E /* 'ICON' */
  4017. 00002C84  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  4018. 00002C88  A9A0                     syscall    GetResource
  4019. 00002C8A  285F                     movea.l    A4, [A7]+
  4020. 00002C8C  200C                     move.l     D0, A4
  4021. 00002C8E  6710                     beq        +0x12 /* 00002CA0 */
  4022. 00002C90  204C                     movea.l    A0, A4
  4023. 00002C92  A029                     syscall    HLock
  4024. 00002C94  486E FFF8                pea.l      [A6 - 0x8]
  4025. 00002C98  2F0C                     move.l     -[A7], A4
  4026. 00002C9A  A94B                     syscall    PlotIcon
  4027. 00002C9C  204C                     movea.l    A0, A4
  4028. 00002C9E  A02A                     syscall    HUnlock
  4029. label00002CA0:
  4030. 00002CA0  486E FFF8                pea.l      [A6 - 0x8]
  4031. 00002CA4  3F07                     move.w     -[A7], D7
  4032. 00002CA6  3F06                     move.w     -[A7], D6
  4033. 00002CA8  A8A8                     syscall    OffsetRect
  4034. 00002CAA  2F2E FF88                move.l     -[A7], [A6 - 0x78]
  4035. 00002CAE  A873                     syscall    SetPort
  4036. 00002CB0  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  4037. 00002CB4  3F2E 0014                move.w     -[A7], [A6 + 0x14]
  4038. 00002CB8  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  4039. 00002CBC  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  4040. 00002CC0  486E FFF8                pea.l      [A6 - 0x8]
  4041. 00002CC4  486E FF94                pea.l      [A6 - 0x6C]
  4042. 00002CC8  206E FF88                movea.l    A0, [A6 - 0x78]
  4043. 00002CCC  4868 0002                pea.l      [A0 + 0x2]
  4044. 00002CD0  486E FF8E                pea.l      [A6 - 0x72]
  4045. 00002CD4  4EBA D32A                jsr        [PC - 0x2CD6 /* 00000000 */]
  4046. 00002CD8  206E FF8E                movea.l    A0, [A6 - 0x72]
  4047. 00002CDC  A01F                     syscall    DisposPtr/DisposePtr
  4048. 00002CDE  486E FF8C                pea.l      [A6 - 0x74]
  4049. 00002CE2  A87D                     syscall    ClosePort
  4050. 00002CE4  4CEE 10F0 FF74           movem.l    D4,D5,D6,D7,A4, [A6 - 0x8C]
  4051. 00002CEA  4E5E                     unlink     A6
  4052. 00002CEC  4E75                     rts
  4053. fn00002CEE:
  4054. 00002CEE  4E56 FF88                link       A6, -0x0078
  4055. 00002CF2  48E7 0308                movem.l    -[A7], D6,D7,A4
  4056. 00002CF6  486E FF88                pea.l      [A6 - 0x78]
  4057. 00002CFA  A874                     syscall    GetPort
  4058. 00002CFC  42A7                     clr.l      -[A7]
  4059. 00002CFE  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  4060. 00002D04  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  4061. 00002D08  A9A0                     syscall    GetResource
  4062. 00002D0A  285F                     movea.l    A4, [A7]+
  4063. 00002D0C  200C                     move.l     D0, A4
  4064. 00002D0E  6700 00D4                beq        +0xD6 /* 00002DE4 */
  4065. 00002D12  204C                     movea.l    A0, A4
  4066. 00002D14  A029                     syscall    HLock
  4067. 00002D16  426E FFFA                clr.w      [A6 - 0x6]
  4068. 00002D1A  426E FFF8                clr.w      [A6 - 0x8]
  4069. 00002D1E  2054                     movea.l    A0, [A4]
  4070. 00002D20  3028 0008                move.w     D0, [A0 + 0x8]
  4071. 00002D24  9068 0004                sub.w      D0, [A0 + 0x4]
  4072. 00002D28  3D40 FFFE                move.w     [A6 - 0x2], D0
  4073. 00002D2C  2054                     movea.l    A0, [A4]
  4074. 00002D2E  3028 0006                move.w     D0, [A0 + 0x6]
  4075. 00002D32  9068 0002                sub.w      D0, [A0 + 0x2]
  4076. 00002D36  3D40 FFFC                move.w     [A6 - 0x4], D0
  4077. 00002D3A  3E2E FFFE                move.w     D7, [A6 - 0x2]
  4078. 00002D3E  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  4079. 00002D42  700F                     moveq.l    D0, 0x0F
  4080. 00002D44  DE40                     add.w      D7, D0
  4081. 00002D46  48C7                     ext.l      D7
  4082. 00002D48  8FFC 0010                divs.w     D7, 0x10
  4083. 00002D4C  DE47                     add.w      D7, D7
  4084. 00002D4E  3C2E FFFC                move.w     D6, [A6 - 0x4]
  4085. 00002D52  9C6E FFF8                sub.w      D6, [A6 - 0x8]
  4086. 00002D56  CDC7                     muls.w     D6, D7
  4087. 00002D58  486E FF8C                pea.l      [A6 - 0x74]
  4088. 00002D5C  A86F                     syscall    OpenPort
  4089. 00002D5E  2F2E FF88                move.l     -[A7], [A6 - 0x78]
  4090. 00002D62  A873                     syscall    SetPort
  4091. 00002D64  2D6E FFF8 FF94           move.l     [A6 - 0x6C], [A6 - 0x8]
  4092. 00002D6A  2D6E FFFC FF98           move.l     [A6 - 0x68], [A6 - 0x4]
  4093. 00002D70  3D47 FF92                move.w     [A6 - 0x6E], D7
  4094. 00002D74  2006                     move.l     D0, D6
  4095. 00002D76  A11E                     syscall    NewPtr, flags=1
  4096. 00002D78  2D48 FF8E                move.l     [A6 - 0x72], A0
  4097. 00002D7C  486E FF8C                pea.l      [A6 - 0x74]
  4098. 00002D80  A873                     syscall    SetPort
  4099. 00002D82  486E FFF8                pea.l      [A6 - 0x8]
  4100. 00002D86  A8A3                     syscall    EraseRect
  4101. 00002D88  2F0C                     move.l     -[A7], A4
  4102. 00002D8A  A9A2                     syscall    LoadResource
  4103. 00002D8C  2F0C                     move.l     -[A7], A4
  4104. 00002D8E  486E FFF8                pea.l      [A6 - 0x8]
  4105. 00002D92  A8F6                     syscall    DrawPicture
  4106. 00002D94  204C                     movea.l    A0, A4
  4107. 00002D96  A02A                     syscall    HUnlock
  4108. 00002D98  486E FFF8                pea.l      [A6 - 0x8]
  4109. 00002D9C  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4110. 00002DA0  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4111. 00002DA4  A8A8                     syscall    OffsetRect
  4112. 00002DA6  2F2E FF88                move.l     -[A7], [A6 - 0x78]
  4113. 00002DAA  A873                     syscall    SetPort
  4114. 00002DAC  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  4115. 00002DB0  3F2E 0014                move.w     -[A7], [A6 + 0x14]
  4116. 00002DB4  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  4117. 00002DB8  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  4118. 00002DBC  486E FFF8                pea.l      [A6 - 0x8]
  4119. 00002DC0  486E FF94                pea.l      [A6 - 0x6C]
  4120. 00002DC4  206E FF88                movea.l    A0, [A6 - 0x78]
  4121. 00002DC8  4868 0002                pea.l      [A0 + 0x2]
  4122. 00002DCC  486E FF8E                pea.l      [A6 - 0x72]
  4123. 00002DD0  4EBA D22E                jsr        [PC - 0x2DD2 /* 00000000 */]
  4124. 00002DD4  206E FF8E                movea.l    A0, [A6 - 0x72]
  4125. 00002DD8  A01F                     syscall    DisposPtr/DisposePtr
  4126. 00002DDA  486E FF8C                pea.l      [A6 - 0x74]
  4127. 00002DDE  A87D                     syscall    ClosePort
  4128. 00002DE0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4129. label00002DE4:
  4130. 00002DE4  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  4131. 00002DE8  4E5E                     unlink     A6
  4132. 00002DEA  4E75                     rts
  4133. fn00002DEC:
  4134. 00002DEC  4E56 FF78                link       A6, -0x0088
  4135. 00002DF0  48E7 0308                movem.l    -[A7], D6,D7,A4
  4136. 00002DF4  486E FF78                pea.l      [A6 - 0x88]
  4137. 00002DF8  A874                     syscall    GetPort
  4138. 00002DFA  42A7                     clr.l      -[A7]
  4139. 00002DFC  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  4140. 00002E02  3F3C 0102                move.w     -[A7], 0x102
  4141. 00002E06  A9A0                     syscall    GetResource
  4142. 00002E08  285F                     movea.l    A4, [A7]+
  4143. 00002E0A  200C                     move.l     D0, A4
  4144. 00002E0C  6700 0116                beq        +0x118 /* 00002F24 */
  4145. 00002E10  204C                     movea.l    A0, A4
  4146. 00002E12  A029                     syscall    HLock
  4147. 00002E14  426E FFFA                clr.w      [A6 - 0x6]
  4148. 00002E18  426E FFF8                clr.w      [A6 - 0x8]
  4149. 00002E1C  2054                     movea.l    A0, [A4]
  4150. 00002E1E  3028 0008                move.w     D0, [A0 + 0x8]
  4151. 00002E22  9068 0004                sub.w      D0, [A0 + 0x4]
  4152. 00002E26  3D40 FFFE                move.w     [A6 - 0x2], D0
  4153. 00002E2A  2054                     movea.l    A0, [A4]
  4154. 00002E2C  3028 0006                move.w     D0, [A0 + 0x6]
  4155. 00002E30  9068 0002                sub.w      D0, [A0 + 0x2]
  4156. 00002E34  3D40 FFFC                move.w     [A6 - 0x4], D0
  4157. 00002E38  3E2E FFFE                move.w     D7, [A6 - 0x2]
  4158. 00002E3C  9E6E FFFA                sub.w      D7, [A6 - 0x6]
  4159. 00002E40  700F                     moveq.l    D0, 0x0F
  4160. 00002E42  DE40                     add.w      D7, D0
  4161. 00002E44  48C7                     ext.l      D7
  4162. 00002E46  8FFC 0010                divs.w     D7, 0x10
  4163. 00002E4A  DE47                     add.w      D7, D7
  4164. 00002E4C  3C2E FFFC                move.w     D6, [A6 - 0x4]
  4165. 00002E50  9C6E FFF8                sub.w      D6, [A6 - 0x8]
  4166. 00002E54  CDC7                     muls.w     D6, D7
  4167. 00002E56  486E FF7C                pea.l      [A6 - 0x84]
  4168. 00002E5A  A86F                     syscall    OpenPort
  4169. 00002E5C  2F2E FF78                move.l     -[A7], [A6 - 0x88]
  4170. 00002E60  A873                     syscall    SetPort
  4171. 00002E62  2D6E FFF8 FF84           move.l     [A6 - 0x7C], [A6 - 0x8]
  4172. 00002E68  2D6E FFFC FF88           move.l     [A6 - 0x78], [A6 - 0x4]
  4173. 00002E6E  3D47 FF82                move.w     [A6 - 0x7E], D7
  4174. 00002E72  2006                     move.l     D0, D6
  4175. 00002E74  A11E                     syscall    NewPtr, flags=1
  4176. 00002E76  2D48 FF7E                move.l     [A6 - 0x82], A0
  4177. 00002E7A  486E FF7C                pea.l      [A6 - 0x84]
  4178. 00002E7E  A873                     syscall    SetPort
  4179. 00002E80  486E FFF8                pea.l      [A6 - 0x8]
  4180. 00002E84  A8A3                     syscall    EraseRect
  4181. 00002E86  2F0C                     move.l     -[A7], A4
  4182. 00002E88  A9A2                     syscall    LoadResource
  4183. 00002E8A  2F0C                     move.l     -[A7], A4
  4184. 00002E8C  486E FFF8                pea.l      [A6 - 0x8]
  4185. 00002E90  A8F6                     syscall    DrawPicture
  4186. 00002E92  204C                     movea.l    A0, A4
  4187. 00002E94  A02A                     syscall    HUnlock
  4188. 00002E96  486E FFF0                pea.l      [A6 - 0x10]
  4189. 00002E9A  42A7                     clr.l      -[A7]
  4190. 00002E9C  2F3C 0014 0014           move.l     -[A7], 0x140014
  4191. 00002EA2  A8A7                     syscall    SetRect
  4192. 00002EA4  2D6E FFF0 FFE8           move.l     [A6 - 0x18], [A6 - 0x10]
  4193. 00002EAA  2D6E FFF4 FFEC           move.l     [A6 - 0x14], [A6 - 0xC]
  4194. 00002EB0  486E FFF0                pea.l      [A6 - 0x10]
  4195. 00002EB4  7014                     moveq.l    D0, 0x14
  4196. 00002EB6  C1EE 0008                muls.w     D0, [A6 + 0x8]
  4197. 00002EBA  3F00                     move.w     -[A7], D0
  4198. 00002EBC  4267                     clr.w      -[A7]
  4199. 00002EBE  A8A8                     syscall    OffsetRect
  4200. 00002EC0  486E FFF0                pea.l      [A6 - 0x10]
  4201. 00002EC4  2F3C 0001 0001           move.l     -[A7], 0x10001
  4202. 00002ECA  A8A9                     syscall    InsetRect
  4203. 00002ECC  486E FFE8                pea.l      [A6 - 0x18]
  4204. 00002ED0  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4205. 00002ED4  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4206. 00002ED8  A8A8                     syscall    OffsetRect
  4207. 00002EDA  486E FFE8                pea.l      [A6 - 0x18]
  4208. 00002EDE  2F3C 0001 0001           move.l     -[A7], 0x10001
  4209. 00002EE4  A8A9                     syscall    InsetRect
  4210. 00002EE6  2F2E FF78                move.l     -[A7], [A6 - 0x88]
  4211. 00002EEA  A873                     syscall    SetPort
  4212. 00002EEC  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  4213. 00002EF0  3F2E 0014                move.w     -[A7], [A6 + 0x14]
  4214. 00002EF4  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  4215. 00002EF8  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  4216. 00002EFC  486E FFE8                pea.l      [A6 - 0x18]
  4217. 00002F00  486E FFF0                pea.l      [A6 - 0x10]
  4218. 00002F04  206E FF78                movea.l    A0, [A6 - 0x88]
  4219. 00002F08  4868 0002                pea.l      [A0 + 0x2]
  4220. 00002F0C  486E FF7E                pea.l      [A6 - 0x82]
  4221. 00002F10  4EBA D0EE                jsr        [PC - 0x2F12 /* 00000000 */]
  4222. 00002F14  206E FF7E                movea.l    A0, [A6 - 0x82]
  4223. 00002F18  A01F                     syscall    DisposPtr/DisposePtr
  4224. 00002F1A  486E FF7C                pea.l      [A6 - 0x84]
  4225. 00002F1E  A87D                     syscall    ClosePort
  4226. 00002F20  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4227. label00002F24:
  4228. 00002F24  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  4229. 00002F28  4E5E                     unlink     A6
  4230. 00002F2A  4E75                     rts
  4231. fn00002F2C:
  4232. 00002F2C  4E56 FFFC                link       A6, -0x0004
  4233. 00002F30  486E FFFC                pea.l      [A6 - 0x4]
  4234. 00002F34  A874                     syscall    GetPort
  4235. 00002F36  2F2D E792                move.l     -[A7], [A5 - 0x186E]
  4236. 00002F3A  A873                     syscall    SetPort
  4237. 00002F3C  486D E772                pea.l      [A5 - 0x188E]
  4238. 00002F40  A8A3                     syscall    EraseRect
  4239. 00002F42  486D E77A                pea.l      [A5 - 0x1886]
  4240. 00002F46  A8A3                     syscall    EraseRect
  4241. 00002F48  486D E782                pea.l      [A5 - 0x187E]
  4242. 00002F4C  A8A3                     syscall    EraseRect
  4243. 00002F4E  486D E78A                pea.l      [A5 - 0x1876]
  4244. 00002F52  A8A3                     syscall    EraseRect
  4245. 00002F54  4878 00CD                push.l     0xCD
  4246. 00002F58  A862                     syscall    ForeColor
  4247. 00002F5A  486D E772                pea.l      [A5 - 0x188E]
  4248. 00002F5E  486D F9C4                pea.l      [A5 - 0x63C]
  4249. 00002F62  A8A5                     syscall    FillRect
  4250. 00002F64  486D E77A                pea.l      [A5 - 0x1886]
  4251. 00002F68  486D F9C4                pea.l      [A5 - 0x63C]
  4252. 00002F6C  A8A5                     syscall    FillRect
  4253. 00002F6E  486D E782                pea.l      [A5 - 0x187E]
  4254. 00002F72  486D F9C4                pea.l      [A5 - 0x63C]
  4255. 00002F76  A8A5                     syscall    FillRect
  4256. 00002F78  486D E78A                pea.l      [A5 - 0x1876]
  4257. 00002F7C  486D F9C4                pea.l      [A5 - 0x63C]
  4258. 00002F80  A8A5                     syscall    FillRect
  4259. 00002F82  4878 0021                push.l     0x21 /* '!' */
  4260. 00002F86  A862                     syscall    ForeColor
  4261. 00002F88  486D E772                pea.l      [A5 - 0x188E]
  4262. 00002F8C  A8A1                     syscall    FrameRect
  4263. 00002F8E  486D E77A                pea.l      [A5 - 0x1886]
  4264. 00002F92  A8A1                     syscall    FrameRect
  4265. 00002F94  486D E782                pea.l      [A5 - 0x187E]
  4266. 00002F98  A8A1                     syscall    FrameRect
  4267. 00002F9A  486D E78A                pea.l      [A5 - 0x1876]
  4268. 00002F9E  A8A1                     syscall    FrameRect
  4269. 00002FA0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4270. 00002FA4  A873                     syscall    SetPort
  4271. 00002FA6  4E5E                     unlink     A6
  4272. 00002FA8  4E75                     rts
  4273. fn00002FAA:
  4274. 00002FAA  4E56 FFFE                link       A6, -0x0002
  4275. 00002FAE  42A7                     clr.l      -[A7]
  4276. 00002FB0  3F3C 0100                move.w     -[A7], 0x100
  4277. 00002FB4  A9BF                     syscall    GetRMenu
  4278. 00002FB6  2B5F F72C                move.l     [A5 - 0x8D4], [A7]+
  4279. 00002FBA  2F2D F72C                move.l     -[A7], [A5 - 0x8D4]
  4280. 00002FBE  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  4281. 00002FC4  A94D                     syscall    AppendResMenu/AddResMenu
  4282. 00002FC6  42A7                     clr.l      -[A7]
  4283. 00002FC8  3F3C 0101                move.w     -[A7], 0x101
  4284. 00002FCC  A9BF                     syscall    GetRMenu
  4285. 00002FCE  2B5F F730                move.l     [A5 - 0x8D0], [A7]+
  4286. 00002FD2  42A7                     clr.l      -[A7]
  4287. 00002FD4  3F3C 0102                move.w     -[A7], 0x102
  4288. 00002FD8  A9BF                     syscall    GetRMenu
  4289. 00002FDA  2B5F F734                move.l     [A5 - 0x8CC], [A7]+
  4290. 00002FDE  42A7                     clr.l      -[A7]
  4291. 00002FE0  3F3C 0103                move.w     -[A7], 0x103
  4292. 00002FE4  A9BF                     syscall    GetRMenu
  4293. 00002FE6  2B5F F738                move.l     [A5 - 0x8C8], [A7]+
  4294. 00002FEA  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4295. 00002FEE  4EBA 0778                jsr        [PC + 0x778 /* 00003768 */]
  4296. 00002FF2  4297                     clr.l      [A7]
  4297. 00002FF4  3F3C 0104                move.w     -[A7], 0x104
  4298. 00002FF8  A9BF                     syscall    GetRMenu
  4299. 00002FFA  2B5F F73C                move.l     [A5 - 0x8C4], [A7]+
  4300. 00002FFE  2F2D F72C                move.l     -[A7], [A5 - 0x8D4]
  4301. 00003002  4267                     clr.w      -[A7]
  4302. 00003004  A935                     syscall    InsertMenu
  4303. 00003006  2F2D F730                move.l     -[A7], [A5 - 0x8D0]
  4304. 0000300A  4267                     clr.w      -[A7]
  4305. 0000300C  A935                     syscall    InsertMenu
  4306. 0000300E  2F2D F734                move.l     -[A7], [A5 - 0x8CC]
  4307. 00003012  4267                     clr.w      -[A7]
  4308. 00003014  A935                     syscall    InsertMenu
  4309. 00003016  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4310. 0000301A  4267                     clr.w      -[A7]
  4311. 0000301C  A935                     syscall    InsertMenu
  4312. 0000301E  2F2D F73C                move.l     -[A7], [A5 - 0x8C4]
  4313. 00003022  4267                     clr.w      -[A7]
  4314. 00003024  A935                     syscall    InsertMenu
  4315. 00003026  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4316. 0000302A  7003                     moveq.l    D0, 0x03
  4317. 0000302C  3B40 E67E                move.w     [A5 - 0x1982], D0
  4318. 00003030  3F00                     move.w     -[A7], D0
  4319. 00003032  1F3C 0001                move.b     -[A7], 0x1
  4320. 00003036  A945                     syscall    CheckItem
  4321. 00003038  A937                     syscall    DrawMenuBar
  4322. 0000303A  4E5E                     unlink     A6
  4323. 0000303C  4E75                     rts
  4324. fn0000303E:
  4325. 0000303E  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4326. 00003042  3F3C 0002                move.w     -[A7], 0x2
  4327. 00003046  A93A                     syscall    DisableItem
  4328. 00003048  A937                     syscall    DrawMenuBar
  4329. 0000304A  4E75                     rts
  4330. fn0000304C:
  4331. 0000304C  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4332. 00003050  3F3C 0002                move.w     -[A7], 0x2
  4333. 00003054  A939                     syscall    EnableItem
  4334. 00003056  A937                     syscall    DrawMenuBar
  4335. 00003058  4E75                     rts
  4336. fn0000305A:
  4337. 0000305A  2F07                     move.l     -[A7], D7
  4338. 0000305C  7E01                     moveq.l    D7, 0x01
  4339. 0000305E  600C                     bra        +0xE /* 0000306C */
  4340. label00003060:
  4341. 00003060  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4342. 00003064  3F07                     move.w     -[A7], D7
  4343. 00003066  4227                     clr.b      -[A7]
  4344. 00003068  A945                     syscall    CheckItem
  4345. 0000306A  5247                     addq.w     D7, 1
  4346. label0000306C:
  4347. 0000306C  BE6D F6E2                cmp.w      D7, [A5 - 0x91E]
  4348. 00003070  6FEE                     ble        -0x10 /* 00003060 */
  4349. 00003072  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4350. 00003076  2F3C 0100 0002           move.l     -[A7], 0x1000002
  4351. 0000307C  A945                     syscall    CheckItem
  4352. 0000307E  3B7C 0002 E67E           move.w     [A5 - 0x1982], 0x2
  4353. 00003084  2E1F                     move.l     D7, [A7]+
  4354. 00003086  4E75                     rts
  4355. fn00003088:
  4356. 00003088  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4357. 0000308C  4267                     clr.w      -[A7]
  4358. 0000308E  A939                     syscall    EnableItem
  4359. 00003090  2F2D F73C                move.l     -[A7], [A5 - 0x8C4]
  4360. 00003094  4267                     clr.w      -[A7]
  4361. 00003096  A939                     syscall    EnableItem
  4362. 00003098  A937                     syscall    DrawMenuBar
  4363. 0000309A  4E75                     rts
  4364. fn0000309C:
  4365. 0000309C  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4366. 000030A0  4267                     clr.w      -[A7]
  4367. 000030A2  A93A                     syscall    DisableItem
  4368. 000030A4  2F2D F73C                move.l     -[A7], [A5 - 0x8C4]
  4369. 000030A8  4267                     clr.w      -[A7]
  4370. 000030AA  A93A                     syscall    DisableItem
  4371. 000030AC  A937                     syscall    DrawMenuBar
  4372. 000030AE  4E75                     rts
  4373. fn000030B0:
  4374. 000030B0  4E56 FF90                link       A6, -0x0070
  4375. 000030B4  48E7 0700                movem.l    -[A7], D5,D6,D7
  4376. 000030B8  2A2E 0008                move.l     D5, [A6 + 0x8]
  4377. 000030BC  7010                     moveq.l    D0, 0x10
  4378. 000030BE  E0AD                     lsr        D5, D0
  4379. 000030C0  3C2E 000A                move.w     D6, [A6 + 0xA]
  4380. 000030C4  3005                     move.w     D0, D5
  4381. 000030C6  6B00 0138                bmi        +0x13A /* 00003200 */
  4382. 000030CA  0440 0102                subi.w     D0, 0x102
  4383. 000030CE  6700 00A2                beq        +0xA4 /* 00003172 */
  4384. 000030D2  6A0A                     bpl        +0xC /* 000030DE */
  4385. 000030D4  5440                     addq.w     D0, 2
  4386. 000030D6  6714                     beq        +0x16 /* 000030EC */
  4387. 000030D8  6A5A                     bpl        +0x5C /* 00003134 */
  4388. 000030DA  6000 0124                bra        +0x126 /* 00003200 */
  4389. label000030DE:
  4390. 000030DE  5540                     subq.w     D0, 2
  4391. 000030E0  6700 00F2                beq        +0xF4 /* 000031D4 */
  4392. 000030E4  6A00 011A                bpl        +0x11C /* 00003200 */
  4393. 000030E8  6000 00AE                bra        +0xB0 /* 00003198 */
  4394. label000030EC:
  4395. 000030EC  3006                     move.w     D0, D6
  4396. 000030EE  671E                     beq        +0x20 /* 0000310E */
  4397. 000030F0  6B1C                     bmi        +0x1E /* 0000310E */
  4398. 000030F2  5540                     subq.w     D0, 2
  4399. 000030F4  670A                     beq        +0xC /* 00003100 */
  4400. 000030F6  6A16                     bpl        +0x18 /* 0000310E */
  4401. 000030F8  4EBA 0774                jsr        [PC + 0x774 /* 0000386E */]
  4402. 000030FC  6000 0102                bra        +0x104 /* 00003200 */
  4403. label00003100:
  4404. 00003100  3F3C 1388                move.w     -[A7], 0x1388
  4405. 00003104  4EBA D822                jsr        [PC - 0x27DE /* 00000928 */]
  4406. 00003108  548F                     addq.l     A7, 2
  4407. 0000310A  6000 00F4                bra        +0xF6 /* 00003200 */
  4408. label0000310E:
  4409. 0000310E  2F2D F72C                move.l     -[A7], [A5 - 0x8D4]
  4410. 00003112  3F06                     move.w     -[A7], D6
  4411. 00003114  486E FFD4                pea.l      [A6 - 0x2C]
  4412. 00003118  A946                     syscall    GetMenuItemText/GetItem
  4413. 0000311A  486E FF90                pea.l      [A6 - 0x70]
  4414. 0000311E  A874                     syscall    GetPort
  4415. 00003120  4267                     clr.w      -[A7]
  4416. 00003122  486E FFD4                pea.l      [A6 - 0x2C]
  4417. 00003126  A9B6                     syscall    OpenDeskAcc
  4418. 00003128  2F2E FF90                move.l     -[A7], [A6 - 0x70]
  4419. 0000312C  A873                     syscall    SetPort
  4420. 0000312E  548F                     addq.l     A7, 2
  4421. 00003130  6000 00CE                bra        +0xD0 /* 00003200 */
  4422. label00003134:
  4423. 00003134  3006                     move.w     D0, D6
  4424. 00003136  6700 00C8                beq        +0xCA /* 00003200 */
  4425. 0000313A  6B00 00C4                bmi        +0xC6 /* 00003200 */
  4426. 0000313E  5740                     subq.w     D0, 3
  4427. 00003140  6726                     beq        +0x28 /* 00003168 */
  4428. 00003142  6A00 00BC                bpl        +0xBE /* 00003200 */
  4429. 00003146  5240                     addq.w     D0, 1
  4430. 00003148  6A00 00B6                bpl        +0xB8 /* 00003200 */
  4431. 0000314C  0C6D 0001 E7A6           cmpi.w     [A5 - 0x185A], 0x1
  4432. 00003152  6606                     bne        +0x8 /* 0000315A */
  4433. 00003154  426D E7A6                clr.w      [A5 - 0x185A]
  4434. 00003158  6006                     bra        +0x8 /* 00003160 */
  4435. label0000315A:
  4436. 0000315A  3B7C 0001 E7A6           move.w     [A5 - 0x185A], 0x1
  4437. label00003160:
  4438. 00003160  4EBA 00F0                jsr        [PC + 0xF0 /* 00003252 */]
  4439. 00003164  6000 009A                bra        +0x9C /* 00003200 */
  4440. label00003168:
  4441. 00003168  3B7C 0001 E632           move.w     [A5 - 0x19CE], 0x1
  4442. 0000316E  6000 0090                bra        +0x92 /* 00003200 */
  4443. label00003172:
  4444. 00003172  4227                     clr.b      -[A7]
  4445. 00003174  70FF                     moveq.l    D0, 0xFFFFFFFF
  4446. 00003176  D046                     add.w      D0, D6
  4447. 00003178  3F00                     move.w     -[A7], D0
  4448. 0000317A  A9C2                     syscall    SysEdit
  4449. 0000317C  7000                     moveq.l    D0, 0x00
  4450. 0000317E  101F                     move.b     D0, [A7]+
  4451. 00003180  4A40                     tst.w      D0
  4452. 00003182  667C                     bne        +0x7E /* 00003200 */
  4453. 00003184  3006                     move.w     D0, D6
  4454. 00003186  0C40 0006                cmpi.w     D0, 0x6
  4455. 0000318A  6274                     bhi        +0x76 /* 00003200 */
  4456. 0000318C  43FA 007E                lea.l      A1, [PC + 0x7E /* 0000320C, value 0xFFF4FFF4 */]
  4457. 00003190  D040                     add.w      D0, D0
  4458. 00003192  D2F1 0000                add.w      A1, [A1 + D0.w]
  4459. 00003196  4ED1                     jmp        [A1]
  4460. label00003198:
  4461. 00003198  7E01                     moveq.l    D7, 0x01
  4462. 0000319A  600C                     bra        +0xE /* 000031A8 */
  4463. label0000319C:
  4464. 0000319C  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4465. 000031A0  3F07                     move.w     -[A7], D7
  4466. 000031A2  4227                     clr.b      -[A7]
  4467. 000031A4  A945                     syscall    CheckItem
  4468. 000031A6  5247                     addq.w     D7, 1
  4469. label000031A8:
  4470. 000031A8  BE6D F6E2                cmp.w      D7, [A5 - 0x91E]
  4471. 000031AC  6FEE                     ble        -0x10 /* 0000319C */
  4472. 000031AE  2F2D F738                move.l     -[A7], [A5 - 0x8C8]
  4473. 000031B2  3F06                     move.w     -[A7], D6
  4474. 000031B4  1F3C 0001                move.b     -[A7], 0x1
  4475. 000031B8  A945                     syscall    CheckItem
  4476. 000031BA  3B46 E67E                move.w     [A5 - 0x1982], D6
  4477. 000031BE  0C46 0001                cmpi.w     D6, 0x1
  4478. 000031C2  6606                     bne        +0x8 /* 000031CA */
  4479. 000031C4  4EBA 02B2                jsr        [PC + 0x2B2 /* 00003478 */]
  4480. 000031C8  6004                     bra        +0x6 /* 000031CE */
  4481. label000031CA:
  4482. 000031CA  4EBA E5BA                jsr        [PC - 0x1A46 /* 00001786 */]
  4483. label000031CE:
  4484. 000031CE  4EBA E9AC                jsr        [PC - 0x1654 /* 00001B7C */]
  4485. 000031D2  602C                     bra        +0x2E /* 00003200 */
  4486. label000031D4:
  4487. 000031D4  3006                     move.w     D0, D6
  4488. 000031D6  6728                     beq        +0x2A /* 00003200 */
  4489. 000031D8  6B26                     bmi        +0x28 /* 00003200 */
  4490. 000031DA  5B40                     subq.w     D0, 5
  4491. 000031DC  6A22                     bpl        +0x24 /* 00003200 */
  4492. 000031DE  7004                     moveq.l    D0, 0x04
  4493. 000031E0  D046                     add.w      D0, D6
  4494. 000031E2  D046                     add.w      D0, D6
  4495. 000031E4  3B40 E7A8                move.w     [A5 - 0x1858], D0
  4496. 000031E8  302D E7A8                move.w     D0, [A5 - 0x1858]
  4497. 000031EC  3B40 E67C                move.w     [A5 - 0x1984], D0
  4498. 000031F0  3B40 E680                move.w     [A5 - 0x1980], D0
  4499. 000031F4  4EBA ECE6                jsr        [PC - 0x131A /* 00001EDC */]
  4500. 000031F8  4EBA EA10                jsr        [PC - 0x15F0 /* 00001C0A */]
  4501. 000031FC  4EBA 001C                jsr        [PC + 0x1C /* 0000321A */]
  4502. label00003200:
  4503. 00003200  4267                     clr.w      -[A7]
  4504. 00003202  A938                     syscall    HiliteMenu
  4505. 00003204  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  4506. 00003208  4E5E                     unlink     A6
  4507. 0000320A  4E75                     rts
  4508. 0000320C  FFF4                     .invalid   <<F/7/7>>
  4509. 0000320E  FFF4                     .invalid   <<F/7/7>>
  4510. 00003210  FFF4                     .invalid   <<F/7/7>>
  4511. 00003212  FFF4                     .invalid   <<F/7/7>>
  4512. 00003214  FFF4                     .invalid   <<F/7/7>>
  4513. 00003216  FFF4                     .invalid   <<F/7/7>>
  4514. 00003218  FFF4                     .invalid   <<F/7/7>>
  4515. fn0000321A:
  4516. 0000321A  48E7 0300                movem.l    -[A7], D6,D7
  4517. 0000321E  3C2D E7A8                move.w     D6, [A5 - 0x1858]
  4518. 00003222  5946                     subq.w     D6, 4
  4519. 00003224  48C6                     ext.l      D6
  4520. 00003226  8DFC 0002                divs.w     D6, 0x2
  4521. 0000322A  7E01                     moveq.l    D7, 0x01
  4522. 0000322C  600C                     bra        +0xE /* 0000323A */
  4523. label0000322E:
  4524. 0000322E  2F2D F73C                move.l     -[A7], [A5 - 0x8C4]
  4525. 00003232  3F07                     move.w     -[A7], D7
  4526. 00003234  4227                     clr.b      -[A7]
  4527. 00003236  A945                     syscall    CheckItem
  4528. 00003238  5247                     addq.w     D7, 1
  4529. label0000323A:
  4530. 0000323A  0C47 0004                cmpi.w     D7, 0x4
  4531. 0000323E  6FEE                     ble        -0x10 /* 0000322E */
  4532. 00003240  2F2D F73C                move.l     -[A7], [A5 - 0x8C4]
  4533. 00003244  3F06                     move.w     -[A7], D6
  4534. 00003246  1F3C 0001                move.b     -[A7], 0x1
  4535. 0000324A  A945                     syscall    CheckItem
  4536. 0000324C  4CDF 00C0                movem.l    D6,D7, [A7]+
  4537. 00003250  4E75                     rts
  4538. fn00003252:
  4539. 00003252  4A6D E7A6                tst.w      [A5 - 0x185A]
  4540. 00003256  670E                     beq        +0x10 /* 00003266 */
  4541. 00003258  2F2D F730                move.l     -[A7], [A5 - 0x8D0]
  4542. 0000325C  2F3C 0100 0001           move.l     -[A7], 0x1000001
  4543. 00003262  A945                     syscall    CheckItem
  4544. 00003264  600A                     bra        +0xC /* 00003270 */
  4545. label00003266:
  4546. 00003266  2F2D F730                move.l     -[A7], [A5 - 0x8D0]
  4547. 0000326A  4878 0001                push.l     0x1
  4548. 0000326E  A945                     syscall    CheckItem
  4549. label00003270:
  4550. 00003270  4E75                     rts
  4551. fn00003272:
  4552. 00003272  4E56 0000                link       A6, 0
  4553. 00003276  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  4554. 0000327A  206E 0008                movea.l    A0, [A6 + 0x8]
  4555. 0000327E  4250                     clr.w      [A0]
  4556. 00003280  226E 000C                movea.l    A1, [A6 + 0xC]
  4557. 00003284  4251                     clr.w      [A1]
  4558. 00003286  3E2D F962                move.w     D7, [A5 - 0x69E]
  4559. 0000328A  3C2D F966                move.w     D6, [A5 - 0x69A]
  4560. 0000328E  3A2D F960                move.w     D5, [A5 - 0x6A0]
  4561. 00003292  382D F964                move.w     D4, [A5 - 0x69C]
  4562. 00003296  0C46 0200                cmpi.w     D6, 0x200
  4563. 0000329A  6F12                     ble        +0x14 /* 000032AE */
  4564. 0000329C  2006                     move.l     D0, D6
  4565. 0000329E  0640 FE00                addi.w     D0, 0xFE00
  4566. 000032A2  48C0                     ext.l      D0
  4567. 000032A4  81FC 0002                divs.w     D0, 0x2
  4568. 000032A8  206E 0008                movea.l    A0, [A6 + 0x8]
  4569. 000032AC  3080                     move.w     [A0], D0
  4570. label000032AE:
  4571. 000032AE  0C44 0156                cmpi.w     D4, 0x156
  4572. 000032B2  6F12                     ble        +0x14 /* 000032C6 */
  4573. 000032B4  2004                     move.l     D0, D4
  4574. 000032B6  0640 FEAA                addi.w     D0, 0xFEAA
  4575. 000032BA  48C0                     ext.l      D0
  4576. 000032BC  81FC 0002                divs.w     D0, 0x2
  4577. 000032C0  206E 000C                movea.l    A0, [A6 + 0xC]
  4578. 000032C4  3080                     move.w     [A0], D0
  4579. label000032C6:
  4580. 000032C6  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  4581. 000032CA  4E5E                     unlink     A6
  4582. 000032CC  4E75                     rts
  4583. export_12:
  4584. 000032CE  4E56 FDEA                link       A6, -0x0216
  4585. 000032D2  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  4586. 000032D6  286E 0010                movea.l    A4, [A6 + 0x10]
  4587. 000032DA  266E 000C                movea.l    A3, [A6 + 0xC]
  4588. 000032DE  206E 0008                movea.l    A0, [A6 + 0x8]
  4589. 000032E2  30BC 0064                move.w     [A0], 0x64 /* 'd' */
  4590. 000032E6  7A01                     moveq.l    D5, 0x01
  4591. 000032E8  DA6C 00A4                add.w      D5, [A4 + 0xA4]
  4592. 000032EC  246C 00A0                movea.l    A2, [A4 + 0xA0]
  4593. 000032F0  2252                     movea.l    A1, [A2]
  4594. 000032F2  3629 0022                move.w     D3, [A1 + 0x22]
  4595. 000032F6  3D69 0020 FDEA           move.w     [A6 - 0x216], [A1 + 0x20]
  4596. 000032FC  3803                     move.w     D4, D3
  4597. 000032FE  986E FDEA                sub.w      D4, [A6 - 0x216]
  4598. 00003302  2F2D F740                move.l     -[A7], [A5 - 0x8C0]
  4599. 00003306  486E FEEC                pea.l      [A6 - 0x114]
  4600. 0000330A  A990                     syscall    GetDialogItemText/GetIText
  4601. 0000330C  486E FEEC                pea.l      [A6 - 0x114]
  4602. 00003310  4EBA 0938                jsr        [PC + 0x938 /* 00003C4A */]
  4603. 00003314  2E80                     move.l     [A7], D0
  4604. 00003316  486E FDEC                pea.l      [A6 - 0x214]
  4605. 0000331A  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  4606. 0000331E  486E FDEC                pea.l      [A6 - 0x214]
  4607. 00003322  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  4608. 00003326  3C00                     move.w     D6, D0
  4609. 00003328  486E FEEC                pea.l      [A6 - 0x114]
  4610. 0000332C  4EBA 0900                jsr        [PC + 0x900 /* 00003C2E */]
  4611. 00003330  0C46 0001                cmpi.w     D6, 0x1
  4612. 00003334  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4613. 00003338  6C0C                     bge        +0xE /* 00003346 */
  4614. 0000333A  2F2D F744                move.l     -[A7], [A5 - 0x8BC]
  4615. 0000333E  3F3C 00FF                move.w     -[A7], 0xFF
  4616. 00003342  A95D                     syscall    HiliteControl
  4617. 00003344  6008                     bra        +0xA /* 0000334E */
  4618. label00003346:
  4619. 00003346  2F2D F744                move.l     -[A7], [A5 - 0x8BC]
  4620. 0000334A  4267                     clr.w      -[A7]
  4621. 0000334C  A95D                     syscall    HiliteControl
  4622. label0000334E:
  4623. 0000334E  3013                     move.w     D0, [A3]
  4624. 00003350  6B00 0114                bmi        +0x116 /* 00003466 */
  4625. 00003354  5B40                     subq.w     D0, 5
  4626. 00003356  6714                     beq        +0x16 /* 0000336C */
  4627. 00003358  6A08                     bpl        +0xA /* 00003362 */
  4628. 0000335A  5440                     addq.w     D0, 2
  4629. 0000335C  670E                     beq        +0x10 /* 0000336C */
  4630. 0000335E  6000 0106                bra        +0x108 /* 00003466 */
  4631. label00003362:
  4632. 00003362  5540                     subq.w     D0, 2
  4633. 00003364  6A00 0100                bpl        +0x102 /* 00003466 */
  4634. 00003368  6000 00DA                bra        +0xDC /* 00003444 */
  4635. label0000336C:
  4636. 0000336C  7EFF                     moveq.l    D7, 0xFFFFFFFF
  4637. 0000336E  CE2B 0005                and.b      D7, [A3 + 0x5]
  4638. 00003372  0C07 000D                cmpi.b     D7, 0xD /* '\r' */
  4639. 00003376  6706                     beq        +0x8 /* 0000337E */
  4640. 00003378  0C07 0003                cmpi.b     D7, 0x3
  4641. 0000337C  6616                     bne        +0x18 /* 00003394 */
  4642. label0000337E:
  4643. 0000337E  4A46                     tst.w      D6
  4644. 00003380  6708                     beq        +0xA /* 0000338A */
  4645. 00003382  206E 0008                movea.l    A0, [A6 + 0x8]
  4646. 00003386  30BC 0001                move.w     [A0], 0x1
  4647. label0000338A:
  4648. 0000338A  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  4649. 00003390  6000 00D8                bra        +0xDA /* 0000346A */
  4650. label00003394:
  4651. 00003394  0C07 0008                cmpi.b     D7, 0x8
  4652. 00003398  6716                     beq        +0x18 /* 000033B0 */
  4653. 0000339A  0C07 0009                cmpi.b     D7, 0x9 /* '\t' */
  4654. 0000339E  6710                     beq        +0x12 /* 000033B0 */
  4655. 000033A0  1007                     move.b     D0, D7
  4656. 000033A2  4880                     ext.w      D0
  4657. 000033A4  3F00                     move.w     -[A7], D0
  4658. 000033A6  4EBA 0858                jsr        [PC + 0x858 /* 00003C00 */]
  4659. 000033AA  4A40                     tst.w      D0
  4660. 000033AC  548F                     addq.l     A7, 2
  4661. 000033AE  6708                     beq        +0xA /* 000033B8 */
  4662. label000033B0:
  4663. 000033B0  422E 0014                clr.b      [A6 + 0x14]
  4664. 000033B4  6000 00B4                bra        +0xB6 /* 0000346A */
  4665. label000033B8:
  4666. 000033B8  1007                     move.b     D0, D7
  4667. 000033BA  4880                     ext.w      D0
  4668. 000033BC  3F00                     move.w     -[A7], D0
  4669. 000033BE  4EAD 012A                jsr        [A5 + 0x12A /* export_33 */]
  4670. 000033C2  1E00                     move.b     D7, D0
  4671. 000033C4  0C07 0041                cmpi.b     D7, 0x41 /* 'A' */
  4672. 000033C8  548F                     addq.l     A7, 2
  4673. 000033CA  6C06                     bge        +0x8 /* 000033D2 */
  4674. 000033CC  0C07 0020                cmpi.b     D7, 0x20 /* ' ' */
  4675. 000033D0  6606                     bne        +0x8 /* 000033D8 */
  4676. label000033D2:
  4677. 000033D2  0C07 005A                cmpi.b     D7, 0x5A /* 'Z' */
  4678. 000033D6  6F10                     ble        +0x12 /* 000033E8 */
  4679. label000033D8:
  4680. 000033D8  3F3C 0002                move.w     -[A7], 0x2
  4681. 000033DC  A9C8                     syscall    SysBeep
  4682. 000033DE  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  4683. 000033E4  6000 0084                bra        +0x86 /* 0000346A */
  4684. label000033E8:
  4685. 000033E8  0C45 0003                cmpi.w     D5, 0x3
  4686. 000033EC  6648                     bne        +0x4A /* 00003436 */
  4687. 000033EE  2F2D F740                move.l     -[A7], [A5 - 0x8C0]
  4688. 000033F2  486E FEEC                pea.l      [A6 - 0x114]
  4689. 000033F6  A990                     syscall    GetDialogItemText/GetIText
  4690. 000033F8  486E FEEC                pea.l      [A6 - 0x114]
  4691. 000033FC  4EBA 084C                jsr        [PC + 0x84C /* 00003C4A */]
  4692. 00003400  2E80                     move.l     [A7], D0
  4693. 00003402  486E FDEC                pea.l      [A6 - 0x214]
  4694. 00003406  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  4695. 0000340A  486E FEEC                pea.l      [A6 - 0x114]
  4696. 0000340E  4EBA 081E                jsr        [PC + 0x81E /* 00003C2E */]
  4697. 00003412  486E FDEC                pea.l      [A6 - 0x214]
  4698. 00003416  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  4699. 0000341A  7210                     moveq.l    D1, 0x10
  4700. 0000341C  B280                     cmp.l      D1, D0
  4701. 0000341E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4702. 00003422  6612                     bne        +0x14 /* 00003436 */
  4703. 00003424  4A44                     tst.w      D4
  4704. 00003426  660E                     bne        +0x10 /* 00003436 */
  4705. 00003428  3F3C 0002                move.w     -[A7], 0x2
  4706. 0000342C  A9C8                     syscall    SysBeep
  4707. 0000342E  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  4708. 00003434  6034                     bra        +0x36 /* 0000346A */
  4709. label00003436:
  4710. 00003436  206E 0008                movea.l    A0, [A6 + 0x8]
  4711. 0000343A  30BC 0064                move.w     [A0], 0x64 /* 'd' */
  4712. 0000343E  422E 0014                clr.b      [A6 + 0x14]
  4713. 00003442  6026                     bra        +0x28 /* 0000346A */
  4714. label00003444:
  4715. 00003444  B9EB 0002                cmpa.l     A4, [A3 + 0x2]
  4716. 00003448  660E                     bne        +0x10 /* 00003458 */
  4717. 0000344A  3F3C 0001                move.w     -[A7], 0x1
  4718. 0000344E  2F0C                     move.l     -[A7], A4
  4719. 00003450  4EBA D85C                jsr        [PC - 0x27A4 /* 00000CAE */]
  4720. 00003454  5C8F                     addq.l     A7, 6
  4721. 00003456  6008                     bra        +0xA /* 00003460 */
  4722. label00003458:
  4723. 00003458  2F0B                     move.l     -[A7], A3
  4724. 0000345A  4EBA DEDA                jsr        [PC - 0x2126 /* 00001336 */]
  4725. 0000345E  588F                     addq.l     A7, 4
  4726. label00003460:
  4727. 00003460  422E 0014                clr.b      [A6 + 0x14]
  4728. 00003464  6004                     bra        +0x6 /* 0000346A */
  4729. label00003466:
  4730. 00003466  422E 0014                clr.b      [A6 + 0x14]
  4731. label0000346A:
  4732. 0000346A  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  4733. 0000346E  4E5E                     unlink     A6
  4734. 00003470  205F                     movea.l    A0, [A7]+
  4735. 00003472  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4736. 00003476  4ED0                     jmp        [A0]
  4737. fn00003478:
  4738. 00003478  4E56 FDEC                link       A6, -0x0214
  4739. 0000347C  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  4740. 00003480  3E3C 014D                move.w     D7, 0x14D
  4741. 00003484  7A00                     moveq.l    D5, 0x00
  4742. 00003486  422E FEF0                clr.b      [A6 - 0x110]
  4743. 0000348A  422E FDF0                clr.b      [A6 - 0x210]
  4744. 0000348E  486D F968                pea.l      [A5 - 0x698]
  4745. 00003492  A851                     syscall    SetCursor
  4746. 00003494  486E FDEC                pea.l      [A6 - 0x214]
  4747. 00003498  A874                     syscall    GetPort
  4748. 0000349A  A852                     syscall    HideCursor
  4749. 0000349C  42A7                     clr.l      -[A7]
  4750. 0000349E  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  4751. 000034A4  3F07                     move.w     -[A7], D7
  4752. 000034A6  A9A0                     syscall    GetResource
  4753. 000034A8  285F                     movea.l    A4, [A7]+
  4754. 000034AA  2F0C                     move.l     -[A7], A4
  4755. 000034AC  A9A2                     syscall    LoadResource
  4756. 000034AE  204C                     movea.l    A0, A4
  4757. 000034B0  A04A                     syscall    HNoPurge
  4758. 000034B2  264C                     movea.l    A3, A4
  4759. 000034B4  2C13                     move.l     D6, [A3]
  4760. 000034B6  2F06                     move.l     -[A7], D6
  4761. 000034B8  4EBA 0248                jsr        [PC + 0x248 /* 00003702 */]
  4762. 000034BC  4297                     clr.l      [A7]
  4763. 000034BE  3F07                     move.w     -[A7], D7
  4764. 000034C0  42A7                     clr.l      -[A7]
  4765. 000034C2  4878 FFFF                push.l     0xFFFF
  4766. 000034C6  A97C                     syscall    GetNewDialog
  4767. 000034C8  245F                     movea.l    A2, [A7]+
  4768. 000034CA  2F0A                     move.l     -[A7], A2
  4769. 000034CC  A91F                     syscall    SelectWindow
  4770. 000034CE  2F0A                     move.l     -[A7], A2
  4771. 000034D0  A873                     syscall    SetPort
  4772. 000034D2  A853                     syscall    ShowCursor
  4773. 000034D4  2F0A                     move.l     -[A7], A2
  4774. 000034D6  3F3C 0001                move.w     -[A7], 0x1
  4775. 000034DA  486E FFFE                pea.l      [A6 - 0x2]
  4776. 000034DE  486D F744                pea.l      [A5 - 0x8BC]
  4777. 000034E2  486E FFF0                pea.l      [A6 - 0x10]
  4778. 000034E6  A98D                     syscall    GetDialogItem/GetDItem
  4779. 000034E8  3F3C 0001                move.w     -[A7], 0x1
  4780. 000034EC  2F0A                     move.l     -[A7], A2
  4781. 000034EE  4EBA D7BE                jsr        [PC - 0x2842 /* 00000CAE */]
  4782. 000034F2  2E8A                     move.l     [A7], A2
  4783. 000034F4  3F3C 0003                move.w     -[A7], 0x3
  4784. 000034F8  486E FFFE                pea.l      [A6 - 0x2]
  4785. 000034FC  486D F740                pea.l      [A5 - 0x8C0]
  4786. 00003500  486E FFF0                pea.l      [A6 - 0x10]
  4787. 00003504  A98D                     syscall    GetDialogItem/GetDItem
  4788. 00003506  548F                     addq.l     A7, 2
  4789. 00003508  6000 00A6                bra        +0xA8 /* 000035B0 */
  4790. label0000350C:
  4791. 0000350C  486D 0082                pea.l      [A5 + 0x82 /* export_12 */]
  4792. 00003510  486E FFFC                pea.l      [A6 - 0x4]
  4793. 00003514  A991                     syscall    ModalDialog
  4794. 00003516  2F2D F740                move.l     -[A7], [A5 - 0x8C0]
  4795. 0000351A  486E FEF0                pea.l      [A6 - 0x110]
  4796. 0000351E  A990                     syscall    GetDialogItemText/GetIText
  4797. 00003520  486E FEF0                pea.l      [A6 - 0x110]
  4798. 00003524  4EBA 0724                jsr        [PC + 0x724 /* 00003C4A */]
  4799. 00003528  2E80                     move.l     [A7], D0
  4800. 0000352A  486E FDF0                pea.l      [A6 - 0x210]
  4801. 0000352E  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  4802. 00003532  486E FDF0                pea.l      [A6 - 0x210]
  4803. 00003536  4EBA E34A                jsr        [PC - 0x1CB6 /* 00001882 */]
  4804. 0000353A  0C6E 0001 FFFC           cmpi.w     [A6 - 0x4], 0x1
  4805. 00003540  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4806. 00003544  6650                     bne        +0x52 /* 00003596 */
  4807. 00003546  486E FDF0                pea.l      [A6 - 0x210]
  4808. 0000354A  4EBA 0080                jsr        [PC + 0x80 /* 000035CC */]
  4809. 0000354E  4A40                     tst.w      D0
  4810. 00003550  588F                     addq.l     A7, 4
  4811. 00003552  661E                     bne        +0x20 /* 00003572 */
  4812. 00003554  3F3C 0002                move.w     -[A7], 0x2
  4813. 00003558  A9C8                     syscall    SysBeep
  4814. 0000355A  2F2D F740                move.l     -[A7], [A5 - 0x8C0]
  4815. 0000355E  486D F748                pea.l      [A5 - 0x8B8]
  4816. 00003562  A98F                     syscall    SetDialogItemText/SetIText
  4817. 00003564  2F0A                     move.l     -[A7], A2
  4818. 00003566  4878 0003                push.l     0x3
  4819. 0000356A  3F3C 03E8                move.w     -[A7], 0x3E8
  4820. 0000356E  A97E                     syscall    SelectDialogItemText/SelIText
  4821. 00003570  603E                     bra        +0x40 /* 000035B0 */
  4822. label00003572:
  4823. 00003572  4EBA EA60                jsr        [PC - 0x15A0 /* 00001FD4 */]
  4824. 00003576  486E FDF0                pea.l      [A6 - 0x210]
  4825. 0000357A  486D E634                pea.l      [A5 - 0x19CC]
  4826. 0000357E  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  4827. 00003582  486E FDF0                pea.l      [A6 - 0x210]
  4828. 00003586  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  4829. 0000358A  3B40 E646                move.w     [A5 - 0x19BA], D0
  4830. 0000358E  7A01                     moveq.l    D5, 0x01
  4831. 00003590  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4832. 00003594  601A                     bra        +0x1C /* 000035B0 */
  4833. label00003596:
  4834. 00003596  0C6E 0004 FFFC           cmpi.w     [A6 - 0x4], 0x4
  4835. 0000359C  6612                     bne        +0x14 /* 000035B0 */
  4836. 0000359E  3B7C 0003 E67E           move.w     [A5 - 0x1982], 0x3
  4837. 000035A4  4EBA E1E0                jsr        [PC - 0x1E20 /* 00001786 */]
  4838. 000035A8  3B7C 0001 E67E           move.w     [A5 - 0x1982], 0x1
  4839. 000035AE  7A01                     moveq.l    D5, 0x01
  4840. label000035B0:
  4841. 000035B0  4A05                     tst.b      D5
  4842. 000035B2  6700 FF58                beq        -0xA6 /* 0000350C */
  4843. 000035B6  2F0C                     move.l     -[A7], A4
  4844. 000035B8  A9A3                     syscall    ReleaseResource
  4845. 000035BA  2F0A                     move.l     -[A7], A2
  4846. 000035BC  A983                     syscall    DisposeDialog
  4847. 000035BE  2F2E FDEC                move.l     -[A7], [A6 - 0x214]
  4848. 000035C2  A873                     syscall    SetPort
  4849. 000035C4  4CDF 1CE0                movem.l    D5,D6,D7,A2,A3,A4, [A7]+
  4850. 000035C8  4E5E                     unlink     A6
  4851. 000035CA  4E75                     rts
  4852. fn000035CC:
  4853. 000035CC  4E56 0000                link       A6, 0
  4854. 000035D0  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  4855. 000035D4  7800                     moveq.l    D4, 0x00
  4856. 000035D6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4857. 000035DA  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  4858. 000035DE  3A00                     move.w     D5, D0
  4859. 000035E0  0C45 0010                cmpi.w     D5, 0x10
  4860. 000035E4  588F                     addq.l     A7, 4
  4861. 000035E6  6E06                     bgt        +0x8 /* 000035EE */
  4862. 000035E8  0C45 0001                cmpi.w     D5, 0x1
  4863. 000035EC  6C04                     bge        +0x6 /* 000035F2 */
  4864. label000035EE:
  4865. 000035EE  7000                     moveq.l    D0, 0x00
  4866. 000035F0  604A                     bra        +0x4C /* 0000363C */
  4867. label000035F2:
  4868. 000035F2  7E00                     moveq.l    D7, 0x00
  4869. 000035F4  6038                     bra        +0x3A /* 0000362E */
  4870. label000035F6:
  4871. 000035F6  206E 0008                movea.l    A0, [A6 + 0x8]
  4872. 000035FA  1C30 7000                move.b     D6, [A0 + D7.w]
  4873. 000035FE  4886                     ext.w      D6
  4874. 00003600  3F06                     move.w     -[A7], D6
  4875. 00003602  4EAD 012A                jsr        [A5 + 0x12A /* export_33 */]
  4876. 00003606  3C00                     move.w     D6, D0
  4877. 00003608  0C46 005A                cmpi.w     D6, 0x5A /* 'Z' */
  4878. 0000360C  548F                     addq.l     A7, 2
  4879. 0000360E  6F04                     ble        +0x6 /* 00003614 */
  4880. 00003610  7000                     moveq.l    D0, 0x00
  4881. 00003612  6028                     bra        +0x2A /* 0000363C */
  4882. label00003614:
  4883. 00003614  0C46 0041                cmpi.w     D6, 0x41 /* 'A' */
  4884. 00003618  6C0A                     bge        +0xC /* 00003624 */
  4885. 0000361A  0C46 0020                cmpi.w     D6, 0x20 /* ' ' */
  4886. 0000361E  6704                     beq        +0x6 /* 00003624 */
  4887. 00003620  7000                     moveq.l    D0, 0x00
  4888. 00003622  6018                     bra        +0x1A /* 0000363C */
  4889. label00003624:
  4890. 00003624  0C46 0020                cmpi.w     D6, 0x20 /* ' ' */
  4891. 00003628  6602                     bne        +0x4 /* 0000362C */
  4892. 0000362A  5244                     addq.w     D4, 1
  4893. label0000362C:
  4894. 0000362C  5247                     addq.w     D7, 1
  4895. label0000362E:
  4896. 0000362E  BA47                     cmp.w      D5, D7
  4897. 00003630  6EC4                     bgt        -0x3A /* 000035F6 */
  4898. 00003632  B845                     cmp.w      D4, D5
  4899. 00003634  6604                     bne        +0x6 /* 0000363A */
  4900. 00003636  7000                     moveq.l    D0, 0x00
  4901. 00003638  6002                     bra        +0x4 /* 0000363C */
  4902. label0000363A:
  4903. 0000363A  7001                     moveq.l    D0, 0x01
  4904. label0000363C:
  4905. 0000363C  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  4906. 00003640  4E5E                     unlink     A6
  4907. 00003642  4E75                     rts
  4908. fn00003644:
  4909. 00003644  4E56 FFF0                link       A6, -0x0010
  4910. 00003648  48E7 0308                movem.l    -[A7], D6,D7,A4
  4911. 0000364C  7C00                     moveq.l    D6, 0x00
  4912. 0000364E  42A7                     clr.l      -[A7]
  4913. 00003650  3F3C 0147                move.w     -[A7], 0x147
  4914. 00003654  A9BB                     syscall    GetIcon
  4915. 00003656  285F                     movea.l    A4, [A7]+
  4916. 00003658  200C                     move.l     D0, A4
  4917. 0000365A  6700 009E                beq        +0xA0 /* 000036FA */
  4918. 0000365E  204C                     movea.l    A0, A4
  4919. 00003660  A029                     syscall    HLock
  4920. 00003662  486E FFF8                pea.l      [A6 - 0x8]
  4921. 00003666  42A7                     clr.l      -[A7]
  4922. 00003668  2F3C 0020 0020           move.l     -[A7], 0x200020 /* ' \0 ' */
  4923. 0000366E  A8A7                     syscall    SetRect
  4924. 00003670  2D6E FFF8 FFF0           move.l     [A6 - 0x10], [A6 - 0x8]
  4925. 00003676  2D6E FFFC FFF4           move.l     [A6 - 0xC], [A6 - 0x4]
  4926. 0000367C  486E FFF8                pea.l      [A6 - 0x8]
  4927. 00003680  2F3C 006E 0020           move.l     -[A7], 0x6E0020 /* 'n\0 ' */
  4928. 00003686  A8A8                     syscall    OffsetRect
  4929. 00003688  486E FFF0                pea.l      [A6 - 0x10]
  4930. 0000368C  206E 0008                movea.l    A0, [A6 + 0x8]
  4931. 00003690  70C0                     moveq.l    D0, 0xFFFFFFC0
  4932. 00003692  D068 0016                add.w      D0, [A0 + 0x16]
  4933. 00003696  3F00                     move.w     -[A7], D0
  4934. 00003698  3F3C 006E                move.w     -[A7], 0x6E /* 'n' */
  4935. 0000369C  A8A8                     syscall    OffsetRect
  4936. 0000369E  7E00                     moveq.l    D7, 0x00
  4937. 000036A0  6044                     bra        +0x46 /* 000036E6 */
  4938. label000036A2:
  4939. 000036A2  204D                     movea.l    A0, A5
  4940. 000036A4  2006                     move.l     D0, D6
  4941. 000036A6  48C0                     ext.l      D0
  4942. 000036A8  E588                     lsl        D0, 2
  4943. 000036AA  D1C0                     add.l      A0, D0
  4944. 000036AC  2F28 F6F0                move.l     -[A7], [A0 - 0x910]
  4945. 000036B0  A862                     syscall    ForeColor
  4946. 000036B2  486E FFF8                pea.l      [A6 - 0x8]
  4947. 000036B6  2F0C                     move.l     -[A7], A4
  4948. 000036B8  A94B                     syscall    PlotIcon
  4949. 000036BA  486E FFF8                pea.l      [A6 - 0x8]
  4950. 000036BE  2F3C 000A 0010           move.l     -[A7], 0xA0010
  4951. 000036C4  A8A8                     syscall    OffsetRect
  4952. 000036C6  486E FFF0                pea.l      [A6 - 0x10]
  4953. 000036CA  2F0C                     move.l     -[A7], A4
  4954. 000036CC  A94B                     syscall    PlotIcon
  4955. 000036CE  486E FFF0                pea.l      [A6 - 0x10]
  4956. 000036D2  2F3C 000A FFF0           move.l     -[A7], 0xAFFF0
  4957. 000036D8  A8A8                     syscall    OffsetRect
  4958. 000036DA  5246                     addq.w     D6, 1
  4959. 000036DC  0C46 0006                cmpi.w     D6, 0x6
  4960. 000036E0  6602                     bne        +0x4 /* 000036E4 */
  4961. 000036E2  7C00                     moveq.l    D6, 0x00
  4962. label000036E4:
  4963. 000036E4  5247                     addq.w     D7, 1
  4964. label000036E6:
  4965. 000036E6  0C47 000B                cmpi.w     D7, 0xB
  4966. 000036EA  6DB6                     blt        -0x48 /* 000036A2 */
  4967. 000036EC  4878 0021                push.l     0x21 /* '!' */
  4968. 000036F0  A862                     syscall    ForeColor
  4969. 000036F2  204C                     movea.l    A0, A4
  4970. 000036F4  A02A                     syscall    HUnlock
  4971. 000036F6  2F0C                     move.l     -[A7], A4
  4972. 000036F8  A9A3                     syscall    ReleaseResource
  4973. label000036FA:
  4974. 000036FA  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  4975. 000036FE  4E5E                     unlink     A6
  4976. 00003700  4E75                     rts
  4977. fn00003702:
  4978. 00003702  4E56 0000                link       A6, 0
  4979. 00003706  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  4980. 0000370A  286E 0008                movea.l    A4, [A6 + 0x8]
  4981. 0000370E  3E2C 0006                move.w     D7, [A4 + 0x6]
  4982. 00003712  9E6C 0002                sub.w      D7, [A4 + 0x2]
  4983. 00003716  3C2C 0004                move.w     D6, [A4 + 0x4]
  4984. 0000371A  9C54                     sub.w      D6, [A4]
  4985. 0000371C  3A2D F966                move.w     D5, [A5 - 0x69A]
  4986. 00003720  9A6D F962                sub.w      D5, [A5 - 0x69E]
  4987. 00003724  382D F964                move.w     D4, [A5 - 0x69C]
  4988. 00003728  986D F960                sub.w      D4, [A5 - 0x6A0]
  4989. 0000372C  0644 FFEC                addi.w     D4, 0xFFEC
  4990. 00003730  3004                     move.w     D0, D4
  4991. 00003732  9046                     sub.w      D0, D6
  4992. 00003734  48C0                     ext.l      D0
  4993. 00003736  81FC 0002                divs.w     D0, 0x2
  4994. 0000373A  0640 0014                addi.w     D0, 0x14
  4995. 0000373E  3880                     move.w     [A4], D0
  4996. 00003740  3014                     move.w     D0, [A4]
  4997. 00003742  D046                     add.w      D0, D6
  4998. 00003744  3940 0004                move.w     [A4 + 0x4], D0
  4999. 00003748  3005                     move.w     D0, D5
  5000. 0000374A  9047                     sub.w      D0, D7
  5001. 0000374C  48C0                     ext.l      D0
  5002. 0000374E  81FC 0002                divs.w     D0, 0x2
  5003. 00003752  3940 0002                move.w     [A4 + 0x2], D0
  5004. 00003756  302C 0002                move.w     D0, [A4 + 0x2]
  5005. 0000375A  D047                     add.w      D0, D7
  5006. 0000375C  3940 0006                move.w     [A4 + 0x6], D0
  5007. 00003760  4CDF 10F0                movem.l    D4,D5,D6,D7,A4, [A7]+
  5008. 00003764  4E5E                     unlink     A6
  5009. 00003766  4E75                     rts
  5010. fn00003768:
  5011. 00003768  4E56 FEF0                link       A6, -0x0110
  5012. 0000376C  48E7 0308                movem.l    -[A7], D6,D7,A4
  5013. 00003770  42A7                     clr.l      -[A7]
  5014. 00003772  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  5015. 00003778  486D F758                pea.l      [A5 - 0x8A8]
  5016. 0000377C  A9A1                     syscall    GetNamedResource
  5017. 0000377E  285F                     movea.l    A4, [A7]+
  5018. 00003780  200C                     move.l     D0, A4
  5019. 00003782  6746                     beq        +0x48 /* 000037CA */
  5020. 00003784  204C                     movea.l    A0, A4
  5021. 00003786  A029                     syscall    HLock
  5022. 00003788  2F0C                     move.l     -[A7], A4
  5023. 0000378A  486E FFFE                pea.l      [A6 - 0x2]
  5024. 0000378E  486E FFF8                pea.l      [A6 - 0x8]
  5025. 00003792  486E FEF0                pea.l      [A6 - 0x110]
  5026. 00003796  A9A8                     syscall    GetResInfo
  5027. 00003798  2054                     movea.l    A0, [A4]
  5028. 0000379A  3C10                     move.w     D6, [A0]
  5029. 0000379C  7E00                     moveq.l    D7, 0x00
  5030. 0000379E  6022                     bra        +0x24 /* 000037C2 */
  5031. label000037A0:
  5032. 000037A0  486E FEF0                pea.l      [A6 - 0x110]
  5033. 000037A4  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  5034. 000037A8  7001                     moveq.l    D0, 0x01
  5035. 000037AA  D047                     add.w      D0, D7
  5036. 000037AC  3F00                     move.w     -[A7], D0
  5037. 000037AE  4EBA 09DA                jsr        [PC + 0x9DA /* 0000418A */]
  5038. 000037B2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5039. 000037B6  486E FEF0                pea.l      [A6 - 0x110]
  5040. 000037BA  A933                     syscall    AppendMenu
  5041. 000037BC  526D F6E2                addq.w     [A5 - 0x91E], 1
  5042. 000037C0  5247                     addq.w     D7, 1
  5043. label000037C2:
  5044. 000037C2  BC47                     cmp.w      D6, D7
  5045. 000037C4  6EDA                     bgt        -0x24 /* 000037A0 */
  5046. 000037C6  204C                     movea.l    A0, A4
  5047. 000037C8  A02A                     syscall    HUnlock
  5048. label000037CA:
  5049. 000037CA  0C6D 0002 F6E2           cmpi.w     [A5 - 0x91E], 0x2
  5050. 000037D0  6602                     bne        +0x4 /* 000037D4 */
  5051. 000037D2  A9F4                     syscall    ExitToShell
  5052. label000037D4:
  5053. 000037D4  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  5054. 000037D8  4E5E                     unlink     A6
  5055. 000037DA  4E75                     rts
  5056. export_13:
  5057. 000037DC  4E56 0000                link       A6, 0
  5058. 000037E0  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5059. 000037E4  266E 000C                movea.l    A3, [A6 + 0xC]
  5060. 000037E8  286E 0010                movea.l    A4, [A6 + 0x10]
  5061. 000037EC  7E00                     moveq.l    D7, 0x00
  5062. 000037EE  206E 0008                movea.l    A0, [A6 + 0x8]
  5063. 000037F2  30BC 0064                move.w     [A0], 0x64 /* 'd' */
  5064. 000037F6  2F0C                     move.l     -[A7], A4
  5065. 000037F8  A873                     syscall    SetPort
  5066. 000037FA  3013                     move.w     D0, [A3]
  5067. 000037FC  0C40 0006                cmpi.w     D0, 0x6
  5068. 00003800  624C                     bhi        +0x4E /* 0000384E */
  5069. 00003802  43FA 005C                lea.l      A1, [PC + 0x5C /* 00003860, value 0xFFEEFFD0 */]
  5070. 00003806  D040                     add.w      D0, D0
  5071. 00003808  D2F1 0000                add.w      A1, [A1 + D0.w]
  5072. 0000380C  4ED1                     jmp        [A1]
  5073. 0000380E  7CFF                     moveq.l    D6, 0xFFFFFFFF
  5074. 00003810  CC2B 0005                and.b      D6, [A3 + 0x5]
  5075. 00003814  0C06 000D                cmpi.b     D6, 0xD /* '\r' */
  5076. 00003818  6706                     beq        +0x8 /* 00003820 */
  5077. 0000381A  0C06 0003                cmpi.b     D6, 0x3
  5078. 0000381E  662E                     bne        +0x30 /* 0000384E */
  5079. label00003820:
  5080. 00003820  206E 0008                movea.l    A0, [A6 + 0x8]
  5081. 00003824  30BC 0001                move.w     [A0], 0x1
  5082. 00003828  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  5083. 0000382E  6022                     bra        +0x24 /* 00003852 */
  5084. 00003830  422E 0014                clr.b      [A6 + 0x14]
  5085. 00003834  601C                     bra        +0x1E /* 00003852 */
  5086. 00003836  B9EB 0002                cmpa.l     A4, [A3 + 0x2]
  5087. 0000383A  6612                     bne        +0x14 /* 0000384E */
  5088. 0000383C  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  5089. 00003840  A922                     syscall    BeginUpdate
  5090. 00003842  2F0C                     move.l     -[A7], A4
  5091. 00003844  4EBA 00A8                jsr        [PC + 0xA8 /* 000038EE */]
  5092. 00003848  2EAB 0002                move.l     [A7], [A3 + 0x2]
  5093. 0000384C  A923                     syscall    EndUpdate
  5094. label0000384E:
  5095. 0000384E  1D47 0014                move.b     [A6 + 0x14], D7
  5096. label00003852:
  5097. 00003852  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5098. 00003856  4E5E                     unlink     A6
  5099. 00003858  205F                     movea.l    A0, [A7]+
  5100. 0000385A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5101. 0000385E  4ED0                     jmp        [A0]
  5102. 00003860  FFEE                     .invalid   <<F/7/7>>
  5103. 00003862  FFD0                     .invalid   <<F/7/7>>
  5104. 00003864  FFEE                     .invalid   <<F/7/7>>
  5105. 00003866  FFAE                     .invalid   <<F/6/7>>
  5106. 00003868  FFEE                     .invalid   <<F/7/7>>
  5107. 0000386A  FFAE                     .invalid   <<F/6/7>>
  5108. 0000386C  FFD6                     .invalid   <<F/7/7>>
  5109. fn0000386E:
  5110. 0000386E  4E56 FFE8                link       A6, -0x0018
  5111. 00003872  48E7 0338                movem.l    -[A7], D6,D7,A2,A3,A4
  5112. 00003876  3E3C 07D1                move.w     D7, 0x7D1
  5113. 0000387A  486D F968                pea.l      [A5 - 0x698]
  5114. 0000387E  A851                     syscall    SetCursor
  5115. 00003880  486E FFE8                pea.l      [A6 - 0x18]
  5116. 00003884  A874                     syscall    GetPort
  5117. 00003886  A852                     syscall    HideCursor
  5118. 00003888  42A7                     clr.l      -[A7]
  5119. 0000388A  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  5120. 00003890  3F07                     move.w     -[A7], D7
  5121. 00003892  A9A0                     syscall    GetResource
  5122. 00003894  285F                     movea.l    A4, [A7]+
  5123. 00003896  2F0C                     move.l     -[A7], A4
  5124. 00003898  A9A2                     syscall    LoadResource
  5125. 0000389A  204C                     movea.l    A0, A4
  5126. 0000389C  A04A                     syscall    HNoPurge
  5127. 0000389E  264C                     movea.l    A3, A4
  5128. 000038A0  2C13                     move.l     D6, [A3]
  5129. 000038A2  2F06                     move.l     -[A7], D6
  5130. 000038A4  4EBA FE5C                jsr        [PC - 0x1A4 /* 00003702 */]
  5131. 000038A8  4297                     clr.l      [A7]
  5132. 000038AA  3F07                     move.w     -[A7], D7
  5133. 000038AC  42A7                     clr.l      -[A7]
  5134. 000038AE  4878 FFFF                push.l     0xFFFF
  5135. 000038B2  A97C                     syscall    GetNewDialog
  5136. 000038B4  245F                     movea.l    A2, [A7]+
  5137. 000038B6  2F0A                     move.l     -[A7], A2
  5138. 000038B8  A91F                     syscall    SelectWindow
  5139. 000038BA  2F0A                     move.l     -[A7], A2
  5140. 000038BC  A873                     syscall    SetPort
  5141. 000038BE  A853                     syscall    ShowCursor
  5142. 000038C0  426E FFF8                clr.w      [A6 - 0x8]
  5143. 000038C4  600A                     bra        +0xC /* 000038D0 */
  5144. label000038C6:
  5145. 000038C6  486D 008A                pea.l      [A5 + 0x8A /* export_13 */]
  5146. 000038CA  486E FFF8                pea.l      [A6 - 0x8]
  5147. 000038CE  A991                     syscall    ModalDialog
  5148. label000038D0:
  5149. 000038D0  0C6E 0001 FFF8           cmpi.w     [A6 - 0x8], 0x1
  5150. 000038D6  66EE                     bne        -0x10 /* 000038C6 */
  5151. 000038D8  2F0C                     move.l     -[A7], A4
  5152. 000038DA  A9A3                     syscall    ReleaseResource
  5153. 000038DC  2F0A                     move.l     -[A7], A2
  5154. 000038DE  A983                     syscall    DisposeDialog
  5155. 000038E0  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  5156. 000038E4  A873                     syscall    SetPort
  5157. 000038E6  4CDF 1CC0                movem.l    D6,D7,A2,A3,A4, [A7]+
  5158. 000038EA  4E5E                     unlink     A6
  5159. 000038EC  4E75                     rts
  5160. fn000038EE:
  5161. 000038EE  4E56 FFF2                link       A6, -0x000E
  5162. 000038F2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5163. 000038F6  286E 0008                movea.l    A4, [A6 + 0x8]
  5164. 000038FA  47ED F764                lea.l      A3, [A5 - 0x89C]
  5165. 000038FE  2F0C                     move.l     -[A7], A4
  5166. 00003900  A969                     syscall    DrawControls
  5167. 00003902  2F0C                     move.l     -[A7], A4
  5168. 00003904  3F3C 0001                move.w     -[A7], 0x1
  5169. 00003908  486E FFFE                pea.l      [A6 - 0x2]
  5170. 0000390C  486E FFFA                pea.l      [A6 - 0x6]
  5171. 00003910  486E FFF2                pea.l      [A6 - 0xE]
  5172. 00003914  A98D                     syscall    GetDialogItem/GetDItem
  5173. 00003916  486E FFF2                pea.l      [A6 - 0xE]
  5174. 0000391A  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  5175. 00003920  A8A9                     syscall    InsetRect
  5176. 00003922  2F3C 0003 0003           move.l     -[A7], 0x30003
  5177. 00003928  A89B                     syscall    PenSize
  5178. 0000392A  486E FFF2                pea.l      [A6 - 0xE]
  5179. 0000392E  2F3C 0010 0010           move.l     -[A7], 0x100010
  5180. 00003934  A8B0                     syscall    FrameRoundRect
  5181. 00003936  A89E                     syscall    PenNormal
  5182. 00003938  4267                     clr.w      -[A7]
  5183. 0000393A  A888                     syscall    TextFace
  5184. 0000393C  4267                     clr.w      -[A7]
  5185. 0000393E  A887                     syscall    TextFont
  5186. 00003940  3F3C 000C                move.w     -[A7], 0xC
  5187. 00003944  A88A                     syscall    TextSize
  5188. 00003946  3F3C 0001                move.w     -[A7], 0x1
  5189. 0000394A  A889                     syscall    TextMode
  5190. 0000394C  A89E                     syscall    PenNormal
  5191. 0000394E  3C2C 0016                move.w     D6, [A4 + 0x16]
  5192. 00003952  9C6C 0012                sub.w      D6, [A4 + 0x12]
  5193. 00003956  7E00                     moveq.l    D7, 0x00
  5194. 00003958  603C                     bra        +0x3E /* 00003996 */
  5195. label0000395A:
  5196. 0000395A  4267                     clr.w      -[A7]
  5197. 0000395C  204D                     movea.l    A0, A5
  5198. 0000395E  2007                     move.l     D0, D7
  5199. 00003960  48C0                     ext.l      D0
  5200. 00003962  E588                     lsl        D0, 2
  5201. 00003964  D1C0                     add.l      A0, D0
  5202. 00003966  2F28 F708                move.l     -[A7], [A0 - 0x8F8]
  5203. 0000396A  A88C                     syscall    StringWidth
  5204. 0000396C  3006                     move.w     D0, D6
  5205. 0000396E  905F                     sub.w      D0, [A7]+
  5206. 00003970  48C0                     ext.l      D0
  5207. 00003972  81FC 0002                divs.w     D0, 0x2
  5208. 00003976  3F00                     move.w     -[A7], D0
  5209. 00003978  700F                     moveq.l    D0, 0x0F
  5210. 0000397A  C1C7                     muls.w     D0, D7
  5211. 0000397C  0640 0019                addi.w     D0, 0x19
  5212. 00003980  3F00                     move.w     -[A7], D0
  5213. 00003982  A893                     syscall    MoveTo
  5214. 00003984  204D                     movea.l    A0, A5
  5215. 00003986  2007                     move.l     D0, D7
  5216. 00003988  48C0                     ext.l      D0
  5217. 0000398A  E588                     lsl        D0, 2
  5218. 0000398C  D1C0                     add.l      A0, D0
  5219. 0000398E  2F28 F708                move.l     -[A7], [A0 - 0x8F8]
  5220. 00003992  A884                     syscall    DrawString
  5221. 00003994  5247                     addq.w     D7, 1
  5222. label00003996:
  5223. 00003996  0C47 0004                cmpi.w     D7, 0x4
  5224. 0000399A  6DBE                     blt        -0x40 /* 0000395A */
  5225. 0000399C  4878 0199                push.l     0x199
  5226. 000039A0  A862                     syscall    ForeColor
  5227. 000039A2  7E00                     moveq.l    D7, 0x00
  5228. 000039A4  603C                     bra        +0x3E /* 000039E2 */
  5229. label000039A6:
  5230. 000039A6  4267                     clr.w      -[A7]
  5231. 000039A8  204D                     movea.l    A0, A5
  5232. 000039AA  2007                     move.l     D0, D7
  5233. 000039AC  48C0                     ext.l      D0
  5234. 000039AE  E588                     lsl        D0, 2
  5235. 000039B0  D1C0                     add.l      A0, D0
  5236. 000039B2  2F28 F718                move.l     -[A7], [A0 - 0x8E8]
  5237. 000039B6  A88C                     syscall    StringWidth
  5238. 000039B8  3006                     move.w     D0, D6
  5239. 000039BA  905F                     sub.w      D0, [A7]+
  5240. 000039BC  48C0                     ext.l      D0
  5241. 000039BE  81FC 0002                divs.w     D0, 0x2
  5242. 000039C2  3F00                     move.w     -[A7], D0
  5243. 000039C4  700F                     moveq.l    D0, 0x0F
  5244. 000039C6  C1C7                     muls.w     D0, D7
  5245. 000039C8  0640 0064                addi.w     D0, 0x64 /* 'd' */
  5246. 000039CC  3F00                     move.w     -[A7], D0
  5247. 000039CE  A893                     syscall    MoveTo
  5248. 000039D0  204D                     movea.l    A0, A5
  5249. 000039D2  2007                     move.l     D0, D7
  5250. 000039D4  48C0                     ext.l      D0
  5251. 000039D6  E588                     lsl        D0, 2
  5252. 000039D8  D1C0                     add.l      A0, D0
  5253. 000039DA  2F28 F718                move.l     -[A7], [A0 - 0x8E8]
  5254. 000039DE  A884                     syscall    DrawString
  5255. 000039E0  5247                     addq.w     D7, 1
  5256. label000039E2:
  5257. 000039E2  0C47 0005                cmpi.w     D7, 0x5
  5258. 000039E6  6DBE                     blt        -0x40 /* 000039A6 */
  5259. 000039E8  4878 0021                push.l     0x21 /* '!' */
  5260. 000039EC  A862                     syscall    ForeColor
  5261. 000039EE  2F3C 0001 0001           move.l     -[A7], 0x10001
  5262. 000039F4  4878 0003                push.l     0x3
  5263. 000039F8  2F3C 0014 00D7           move.l     -[A7], 0x1400D7
  5264. 000039FE  3F3C 0101                move.w     -[A7], 0x101
  5265. 00003A02  4EBA F2EA                jsr        [PC - 0xD16 /* 00002CEE */]
  5266. 00003A06  2EBC 0001 0001           move.l     [A7], 0x10001
  5267. 00003A0C  4878 0003                push.l     0x3
  5268. 00003A10  2F3C 0140 00D7           move.l     -[A7], 0x14000D7
  5269. 00003A16  3F3C 0100                move.w     -[A7], 0x100
  5270. 00003A1A  4EBA F2D2                jsr        [PC - 0xD2E /* 00002CEE */]
  5271. 00003A1E  3EBC 0004                move.w     [A7], 0x4
  5272. 00003A22  A887                     syscall    TextFont
  5273. 00003A24  3EBC 0009                move.w     [A7], 0x9 /* '\t' */
  5274. 00003A28  A88A                     syscall    TextSize
  5275. 00003A2A  4257                     clr.w      [A7]
  5276. 00003A2C  A888                     syscall    TextFace
  5277. 00003A2E  4257                     clr.w      [A7]
  5278. 00003A30  2F0B                     move.l     -[A7], A3
  5279. 00003A32  A88C                     syscall    StringWidth
  5280. 00003A34  3006                     move.w     D0, D6
  5281. 00003A36  905F                     sub.w      D0, [A7]+
  5282. 00003A38  48C0                     ext.l      D0
  5283. 00003A3A  81FC 0002                divs.w     D0, 0x2
  5284. 00003A3E  3E80                     move.w     [A7], D0
  5285. 00003A40  70FD                     moveq.l    D0, 0xFFFFFFFD
  5286. 00003A42  D06C 0014                add.w      D0, [A4 + 0x14]
  5287. 00003A46  3F00                     move.w     -[A7], D0
  5288. 00003A48  A893                     syscall    MoveTo
  5289. 00003A4A  2E8B                     move.l     [A7], A3
  5290. 00003A4C  A884                     syscall    DrawString
  5291. 00003A4E  2E8C                     move.l     [A7], A4
  5292. 00003A50  4EBA FBF2                jsr        [PC - 0x40E /* 00003644 */]
  5293. 00003A54  4CEE 18C0 FFE2           movem.l    D6,D7,A3,A4, [A6 - 0x1E]
  5294. 00003A5A  4E5E                     unlink     A6
  5295. 00003A5C  4E75                     rts
  5296. fn00003A5E:
  5297. 00003A5E  426D E796                clr.w      [A5 - 0x186A]
  5298. 00003A62  3B7C 0007 E798           move.w     [A5 - 0x1868], 0x7
  5299. 00003A68  426D E79A                clr.w      [A5 - 0x1866]
  5300. 00003A6C  3B7C 0001 E79C           move.w     [A5 - 0x1864], 0x1
  5301. 00003A72  426D E79E                clr.w      [A5 - 0x1862]
  5302. 00003A76  3B7C 0002 E7A0           move.w     [A5 - 0x1860], 0x2
  5303. 00003A7C  426D E7A2                clr.w      [A5 - 0x185E]
  5304. 00003A80  3B7C 0001 E7A4           move.w     [A5 - 0x185C], 0x1
  5305. 00003A86  3B7C 0001 E7A6           move.w     [A5 - 0x185A], 0x1
  5306. 00003A8C  3B7C 0008 E7A8           move.w     [A5 - 0x1858], 0x8
  5307. 00003A92  4EBA F786                jsr        [PC - 0x87A /* 0000321A */]
  5308. 00003A96  4EBA F7BA                jsr        [PC - 0x846 /* 00003252 */]
  5309. 00003A9A  4E75                     rts
  5310. fn00003A9C:
  5311. 00003A9C  4E56 FFF6                link       A6, -0x000A
  5312. 00003AA0  2F07                     move.l     -[A7], D7
  5313. 00003AA2  4267                     clr.w      -[A7]
  5314. 00003AA4  3F2D E84A                move.w     -[A7], [A5 - 0x17B6]
  5315. 00003AA8  2F2D E84C                move.l     -[A7], [A5 - 0x17B4]
  5316. 00003AAC  2F2D F6EC                move.l     -[A7], [A5 - 0x914]
  5317. 00003AB0  2F2D F6E4                move.l     -[A7], [A5 - 0x91C]
  5318. 00003AB4  2F2D F6E8                move.l     -[A7], [A5 - 0x918]
  5319. 00003AB8  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  5320. 00003ABC  4257                     clr.w      [A7]
  5321. 00003ABE  3F2D E84A                move.w     -[A7], [A5 - 0x17B6]
  5322. 00003AC2  2F2D E84C                move.l     -[A7], [A5 - 0x17B4]
  5323. 00003AC6  2F2D F6EC                move.l     -[A7], [A5 - 0x914]
  5324. 00003ACA  1F3C 0002                move.b     -[A7], 0x2
  5325. 00003ACE  486E FFFC                pea.l      [A6 - 0x4]
  5326. 00003AD2  4EAD 016A                jsr        [A5 + 0x16A /* export_41 */]
  5327. 00003AD6  3E1F                     move.w     D7, [A7]+
  5328. 00003AD8  6704                     beq        +0x6 /* 00003ADE */
  5329. 00003ADA  7000                     moveq.l    D0, 0x00
  5330. 00003ADC  6062                     bra        +0x64 /* 00003B40 */
  5331. label00003ADE:
  5332. 00003ADE  4267                     clr.w      -[A7]
  5333. 00003AE0  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5334. 00003AE4  42A7                     clr.l      -[A7]
  5335. 00003AE6  4EBA 05FE                jsr        [PC + 0x5FE /* 000040E6 */]
  5336. 00003AEA  3E1F                     move.w     D7, [A7]+
  5337. 00003AEC  670E                     beq        +0x10 /* 00003AFC */
  5338. 00003AEE  4267                     clr.w      -[A7]
  5339. 00003AF0  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5340. 00003AF4  4EBA 054C                jsr        [PC + 0x54C /* 00004042 */]
  5341. 00003AF8  7000                     moveq.l    D0, 0x00
  5342. 00003AFA  6044                     bra        +0x46 /* 00003B40 */
  5343. label00003AFC:
  5344. 00003AFC  7014                     moveq.l    D0, 0x14
  5345. 00003AFE  2D40 FFF6                move.l     [A6 - 0xA], D0
  5346. 00003B02  4267                     clr.w      -[A7]
  5347. 00003B04  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5348. 00003B08  486E FFF6                pea.l      [A6 - 0xA]
  5349. 00003B0C  486D E796                pea.l      [A5 - 0x186A]
  5350. 00003B10  4EBA 054E                jsr        [PC + 0x54E /* 00004060 */]
  5351. 00003B14  3E1F                     move.w     D7, [A7]+
  5352. 00003B16  670E                     beq        +0x10 /* 00003B26 */
  5353. 00003B18  4267                     clr.w      -[A7]
  5354. 00003B1A  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5355. 00003B1E  4EBA 0522                jsr        [PC + 0x522 /* 00004042 */]
  5356. 00003B22  7000                     moveq.l    D0, 0x00
  5357. 00003B24  601A                     bra        +0x1C /* 00003B40 */
  5358. label00003B26:
  5359. 00003B26  4267                     clr.w      -[A7]
  5360. 00003B28  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5361. 00003B2C  4EBA 0514                jsr        [PC + 0x514 /* 00004042 */]
  5362. 00003B30  4257                     clr.w      [A7]
  5363. 00003B32  486D F7B0                pea.l      [A5 - 0x850]
  5364. 00003B36  3F2D E84A                move.w     -[A7], [A5 - 0x17B6]
  5365. 00003B3A  4EBA 058A                jsr        [PC + 0x58A /* 000040C6 */]
  5366. 00003B3E  7001                     moveq.l    D0, 0x01
  5367. label00003B40:
  5368. 00003B40  2E2E FFF2                move.l     D7, [A6 - 0xE]
  5369. 00003B44  4E5E                     unlink     A6
  5370. 00003B46  4E75                     rts
  5371. fn00003B48:
  5372. 00003B48  4E56 FFF6                link       A6, -0x000A
  5373. 00003B4C  2F07                     move.l     -[A7], D7
  5374. 00003B4E  4EBA FF0E                jsr        [PC - 0xF2 /* 00003A5E */]
  5375. 00003B52  4267                     clr.w      -[A7]
  5376. 00003B54  3F2D E84A                move.w     -[A7], [A5 - 0x17B6]
  5377. 00003B58  2F2D E84C                move.l     -[A7], [A5 - 0x17B4]
  5378. 00003B5C  2F2D F6EC                move.l     -[A7], [A5 - 0x914]
  5379. 00003B60  1F3C 0001                move.b     -[A7], 0x1
  5380. 00003B64  486E FFFC                pea.l      [A6 - 0x4]
  5381. 00003B68  4EAD 016A                jsr        [A5 + 0x16A /* export_41 */]
  5382. 00003B6C  3E1F                     move.w     D7, [A7]+
  5383. 00003B6E  6704                     beq        +0x6 /* 00003B74 */
  5384. 00003B70  7000                     moveq.l    D0, 0x00
  5385. 00003B72  6042                     bra        +0x44 /* 00003BB6 */
  5386. label00003B74:
  5387. 00003B74  7014                     moveq.l    D0, 0x14
  5388. 00003B76  2D40 FFF6                move.l     [A6 - 0xA], D0
  5389. 00003B7A  4267                     clr.w      -[A7]
  5390. 00003B7C  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5391. 00003B80  486E FFF6                pea.l      [A6 - 0xA]
  5392. 00003B84  486D E796                pea.l      [A5 - 0x186A]
  5393. 00003B88  4EBA 04D2                jsr        [PC + 0x4D2 /* 0000405C */]
  5394. 00003B8C  3E1F                     move.w     D7, [A7]+
  5395. 00003B8E  6712                     beq        +0x14 /* 00003BA2 */
  5396. 00003B90  4267                     clr.w      -[A7]
  5397. 00003B92  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5398. 00003B96  4EBA 04AA                jsr        [PC + 0x4AA /* 00004042 */]
  5399. 00003B9A  4EBA FEC2                jsr        [PC - 0x13E /* 00003A5E */]
  5400. 00003B9E  7000                     moveq.l    D0, 0x00
  5401. 00003BA0  6014                     bra        +0x16 /* 00003BB6 */
  5402. label00003BA2:
  5403. 00003BA2  4267                     clr.w      -[A7]
  5404. 00003BA4  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  5405. 00003BA8  4EBA 0498                jsr        [PC + 0x498 /* 00004042 */]
  5406. 00003BAC  4EBA F66C                jsr        [PC - 0x994 /* 0000321A */]
  5407. 00003BB0  4EBA F6A0                jsr        [PC - 0x960 /* 00003252 */]
  5408. 00003BB4  7001                     moveq.l    D0, 0x01
  5409. label00003BB6:
  5410. 00003BB6  2E2E FFF2                move.l     D7, [A6 - 0xE]
  5411. 00003BBA  4E5E                     unlink     A6
  5412. 00003BBC  4E75                     rts
  5413. fn00003BBE:
  5414. 00003BBE  4E56 FE00                link       A6, -0x0200
  5415. 00003BC2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5416. 00003BC6  486E FE00                pea.l      [A6 - 0x200]
  5417. 00003BCA  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  5418. 00003BCE  486E FE00                pea.l      [A6 - 0x200]
  5419. 00003BD2  4EBA 005A                jsr        [PC + 0x5A /* 00003C2E */]
  5420. 00003BD6  2E80                     move.l     [A7], D0
  5421. 00003BD8  486E FF00                pea.l      [A6 - 0x100]
  5422. 00003BDC  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  5423. 00003BE0  486E FF00                pea.l      [A6 - 0x100]
  5424. 00003BE4  486D F7B2                pea.l      [A5 - 0x84E]
  5425. 00003BE8  486D F7B4                pea.l      [A5 - 0x84C]
  5426. 00003BEC  486D F7B6                pea.l      [A5 - 0x84A]
  5427. 00003BF0  A98B                     syscall    ParamText
  5428. 00003BF2  4257                     clr.w      [A7]
  5429. 00003BF4  3F3C 071F                move.w     -[A7], 0x71F
  5430. 00003BF8  42A7                     clr.l      -[A7]
  5431. 00003BFA  A987                     syscall    NoteAlert
  5432. 00003BFC  4E5E                     unlink     A6
  5433. 00003BFE  4E75                     rts
  5434. fn00003C00:
  5435. 00003C00  4E56 0000                link       A6, 0
  5436. 00003C04  2F07                     move.l     -[A7], D7
  5437. 00003C06  3E2E 0008                move.w     D7, [A6 + 0x8]
  5438. 00003C0A  0C47 001C                cmpi.w     D7, 0x1C
  5439. 00003C0E  6712                     beq        +0x14 /* 00003C22 */
  5440. 00003C10  0C47 001D                cmpi.w     D7, 0x1D
  5441. 00003C14  670C                     beq        +0xE /* 00003C22 */
  5442. 00003C16  0C47 001E                cmpi.w     D7, 0x1E
  5443. 00003C1A  6706                     beq        +0x8 /* 00003C22 */
  5444. 00003C1C  0C47 001F                cmpi.w     D7, 0x1F
  5445. 00003C20  6604                     bne        +0x6 /* 00003C26 */
  5446. label00003C22:
  5447. 00003C22  7001                     moveq.l    D0, 0x01
  5448. 00003C24  6002                     bra        +0x4 /* 00003C28 */
  5449. label00003C26:
  5450. 00003C26  7000                     moveq.l    D0, 0x00
  5451. label00003C28:
  5452. 00003C28  2E1F                     move.l     D7, [A7]+
  5453. 00003C2A  4E5E                     unlink     A6
  5454. 00003C2C  4E75                     rts
  5455. fn00003C2E:
  5456. 00003C2E  206F 0004                movea.l    A0, [A7 + 0x4]
  5457. 00003C32  43E8 0001                lea.l      A1, [A0 + 0x1]
  5458. 00003C36  7000                     moveq.l    D0, 0x00
  5459. label00003C38:
  5460. 00003C38  1210                     move.b     D1, [A0]
  5461. 00003C3A  10C0                     move.b     [A0]+, D0
  5462. 00003C3C  1001                     move.b     D0, D1
  5463. 00003C3E  66F8                     bne        -0x6 /* 00003C38 */
  5464. 00003C40  91C9                     sub.l      A0, A1
  5465. 00003C42  2008                     move.l     D0, A0
  5466. 00003C44  1300                     move.b     -[A1], D0
  5467. 00003C46  2009                     move.l     D0, A1
  5468. 00003C48  4E75                     rts
  5469. fn00003C4A:
  5470. 00003C4A  206F 0004                movea.l    A0, [A7 + 0x4]
  5471. 00003C4E  7000                     moveq.l    D0, 0x00
  5472. 00003C50  1010                     move.b     D0, [A0]
  5473. 00003C52  6004                     bra        +0x6 /* 00003C58 */
  5474. label00003C54:
  5475. 00003C54  10E8 0001                move.b     [A0]+, [A0 + 0x1]
  5476. label00003C58:
  5477. 00003C58  51C8 FFFA                dbf        D0, -0x8 /* 00003C54 */
  5478. 00003C5C  4210                     clr.b      [A0]
  5479. 00003C5E  202F 0004                move.l     D0, [A7 + 0x4]
  5480. 00003C62  4E75                     rts
  5481. fn00003C64:
  5482. 00003C64  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5483. 00003C68  6B22                     bmi        +0x24 /* 00003C8C */
  5484. 00003C6A  303C 0090                move.w     D0, 0x90
  5485. 00003C6E  A346                     syscall    GetOSTrapAddress, flags=3
  5486. 00003C70  2248                     movea.l    A1, A0
  5487. 00003C72  303C 009F                move.w     D0, 0x9F
  5488. 00003C76  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5489. 00003C78  B3C8                     cmpa.l     A1, A0
  5490. 00003C7A  6710                     beq        +0x12 /* 00003C8C */
  5491. 00003C7C  225F                     movea.l    A1, [A7]+
  5492. 00003C7E  205F                     movea.l    A0, [A7]+
  5493. 00003C80  301F                     move.w     D0, [A7]+
  5494. 00003C82  2F09                     move.l     -[A7], A1
  5495. 00003C84  A090                     syscall    SysEnvirons
  5496. 00003C86  3F40 0004                move.w     [A7 + 0x4], D0
  5497. 00003C8A  4E75                     rts
  5498. label00003C8C:
  5499. 00003C8C  206F 0004                movea.l    A0, [A7 + 0x4]
  5500. 00003C90  303C 0001                move.w     D0, 0x1
  5501. 00003C94  2248                     movea.l    A1, A0
  5502. 00003C96  6006                     bra        +0x8 /* 00003C9E */
  5503. 00003C98  0313                     btst       [A3], D1
  5504. 00003C9A  0B02                     btst       D2, D5
  5505. 00003C9C  0100                     btst       D0, D0
  5506. label00003C9E:
  5507. 00003C9E  303C 0010                move.w     D0, 0x10
  5508. 00003CA2  E240                     asr        D0.w, 1
  5509. 00003CA4  5340                     subq.w     D0, 1
  5510. label00003CA6:
  5511. 00003CA6  4258                     clr.w      [A0]+
  5512. 00003CA8  51C8 FFFC                dbf        D0, -0x6 /* 00003CA6 */
  5513. 00003CAC  32BC 0001                move.w     [A1], 0x1
  5514. 00003CB0  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  5515. 00003CB4  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  5516. 00003CBA  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  5517. 00003CC0  6742                     beq        +0x44 /* 00003D04 */
  5518. 00003CC2  4A28 0008                tst.b      [A0 + 0x8]
  5519. 00003CC6  6E20                     bgt        +0x22 /* 00003CE8 */
  5520. 00003CC8  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  5521. 00003CCE  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5522. 00003CD2  6B30                     bmi        +0x32 /* 00003D04 */
  5523. 00003CD4  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  5524. 00003CDA  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  5525. 00003CDE  6A24                     bpl        +0x26 /* 00003D04 */
  5526. 00003CE0  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  5527. 00003CE6  601C                     bra        +0x1E /* 00003D04 */
  5528. label00003CE8:
  5529. 00003CE8  4269 0002                clr.w      [A1 + 0x2]
  5530. 00003CEC  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  5531. 00003CF2  6E10                     bgt        +0x12 /* 00003D04 */
  5532. 00003CF4  6708                     beq        +0xA /* 00003CFE */
  5533. 00003CF6  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  5534. 00003CFC  6006                     bra        +0x8 /* 00003D04 */
  5535. label00003CFE:
  5536. 00003CFE  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  5537. label00003D04:
  5538. 00003D04  4269 0004                clr.w      [A1 + 0x4]
  5539. 00003D08  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  5540. 00003D0E  6E0A                     bgt        +0xC /* 00003D1A */
  5541. 00003D10  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  5542. 00003D14  5240                     addq.w     D0, 1
  5543. 00003D16  1340 0007                move.b     [A1 + 0x7], D0
  5544. label00003D1A:
  5545. 00003D1A  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5546. 00003D1E  6B0E                     bmi        +0x10 /* 00003D2E */
  5547. 00003D20  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  5548. 00003D26  6706                     beq        +0x8 /* 00003D2E */
  5549. 00003D28  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  5550. label00003D2E:
  5551. 00003D2E  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  5552. 00003D34  6206                     bhi        +0x8 /* 00003D3C */
  5553. 00003D36  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  5554. label00003D3C:
  5555. 00003D3C  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  5556. 00003D40  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00003C9D, value 0x303C00 '0<\0', cstring "" */]
  5557. 00003D44  323C 0004                move.w     D1, 0x4
  5558. label00003D48:
  5559. 00003D48  B020                     cmp.b      D0, -[A0]
  5560. 00003D4A  57C9 FFFC                dbeq       D1, -0x6 /* 00003D48 */
  5561. 00003D4E  5241                     addq.w     D1, 1
  5562. 00003D50  3341 000A                move.w     [A1 + 0xA], D1
  5563. 00003D54  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  5564. 00003D58  6B18                     bmi        +0x1A /* 00003D72 */
  5565. 00003D5A  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  5566. 00003D5E  0201 000F                andi.b     D1, 0xF
  5567. 00003D62  0C01 0001                cmpi.b     D1, 0x1
  5568. 00003D66  660A                     bne        +0xC /* 00003D72 */
  5569. 00003D68  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  5570. 00003D6C  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  5571. label00003D72:
  5572. 00003D72  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  5573. 00003D78  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  5574. 00003D7C  6D44                     blt        +0x46 /* 00003DC2 */
  5575. 00003D7E  4269 000E                clr.w      [A1 + 0xE]
  5576. 00003D82  323C 003C                move.w     D1, 0x3C /* '<' */
  5577. label00003D86:
  5578. 00003D86  4267                     clr.w      -[A7]
  5579. 00003D88  51C9 FFFC                dbf        D1, -0x6 /* 00003D86 */
  5580. 00003D8C  204F                     movea.l    A0, A7
  5581. 00003D8E  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  5582. 00003D94  7008                     moveq.l    D0, 0x08
  5583. 00003D96  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5584. 00003D98  6624                     bne        +0x26 /* 00003DBE */
  5585. 00003D9A  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  5586. 00003DA0  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  5587. 00003DA2  661A                     bne        +0x1C /* 00003DBE */
  5588. 00003DA4  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  5589. 00003DAA  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  5590. 00003DB2  7001                     moveq.l    D0, 0x01
  5591. 00003DB4  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5592. 00003DB6  6606                     bne        +0x8 /* 00003DBE */
  5593. 00003DB8  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  5594. label00003DBE:
  5595. 00003DBE  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  5596. label00003DC2:
  5597. 00003DC2  2049                     movea.l    A0, A1
  5598. 00003DC4  225F                     movea.l    A1, [A7]+
  5599. 00003DC6  5C4F                     addq.w     A7, 6
  5600. 00003DC8  3EBC EA84                move.w     [A7], 0xEA84
  5601. 00003DCC  4ED1                     jmp        [A1]
  5602. export_14:
  5603. fn00003DCE:
  5604. 00003DCE  4E56 0000                link       A6, 0
  5605. 00003DD2  203C 0000 A89F           move.l     D0, 0xA89F
  5606. 00003DD8  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5607. 00003DDA  2F08                     move.l     -[A7], A0
  5608. 00003DDC  203C 0000 A0AD           move.l     D0, 0xA0AD
  5609. 00003DE2  A346                     syscall    GetOSTrapAddress, flags=3
  5610. 00003DE4  B1DF                     cmpa.l     A0, [A7]+
  5611. 00003DE6  670E                     beq        +0x10 /* 00003DF6 */
  5612. 00003DE8  202E 000C                move.l     D0, [A6 + 0xC]
  5613. 00003DEC  A1AD                     syscall    Gestalt, flags=1
  5614. 00003DEE  226E 0008                movea.l    A1, [A6 + 0x8]
  5615. 00003DF2  2288                     move.l     [A1], A0
  5616. 00003DF4  6026                     bra        +0x28 /* 00003E1C */
  5617. label00003DF6:
  5618. 00003DF6  41FA 0036                lea.l      A0, [PC + 0x36 /* 00003E2E, value 0x76657273 'vers', cstring "vers" */]
  5619. 00003DFA  303C EA51                move.w     D0, 0xEA51
  5620. 00003DFE  222E 000C                move.l     D1, [A6 + 0xC]
  5621. label00003E02:
  5622. 00003E02  B298                     cmp.l      D1, [A0]+
  5623. 00003E04  6706                     beq        +0x8 /* 00003E0C */
  5624. 00003E06  4A98                     tst.l      [A0]+
  5625. 00003E08  6712                     beq        +0x14 /* 00003E1C */
  5626. 00003E0A  60F6                     bra        -0x8 /* 00003E02 */
  5627. label00003E0C:
  5628. 00003E0C  43FA 0020                lea.l      A1, [PC + 0x20 /* 00003E2E, value 0x76657273 'vers', cstring "vers" */]
  5629. 00003E10  D3D0                     add.l      A1, [A0]
  5630. 00003E12  4ED1                     jmp        [A1]
  5631. label00003E14:
  5632. 00003E14  226E 0008                movea.l    A1, [A6 + 0x8]
  5633. 00003E18  2280                     move.l     [A1], D0
  5634. 00003E1A  4240                     clr.w      D0
  5635. label00003E1C:
  5636. 00003E1C  3D40 0010                move.w     [A6 + 0x10], D0
  5637. 00003E20  4E5E                     unlink     A6
  5638. 00003E22  205F                     movea.l    A0, [A7]+
  5639. 00003E24  508F                     addq.l     A7, 8
  5640. 00003E26  4ED0                     jmp        [A0]
  5641. label00003E28:
  5642. 00003E28  303C EA52                move.w     D0, 0xEA52
  5643. 00003E2C  60EE                     bra        -0x10 /* 00003E1C */
  5644. 00003E2E  7665                     moveq.l    D3, 0x65
  5645. 00003E30  7273                     moveq.l    D1, 0x73
  5646. 00003E32  0000 0060                ori.b      D0, 0x60 /* '`' */
  5647. 00003E36  6D61                     blt        +0x63 /* 00003E99 */
  5648. 00003E38  6368                     bls        +0x6A /* 00003EA2 */
  5649. 00003E3A  0000 0064                ori.b      D0, 0x64 /* 'd' */
  5650. 00003E3E  7379                     moveq.l    D1, 0x79
  5651. 00003E40  7376                     moveq.l    D1, 0x76
  5652. 00003E42  0000 0088                ori.b      D0, 0x88
  5653. 00003E46  7072                     moveq.l    D0, 0x72
  5654. 00003E48  6F63                     ble        +0x65 /* 00003EAD */
  5655. 00003E4A  0000 0092                ori.b      D0, 0x92
  5656. 00003E4E  6670                     bne        +0x72 /* 00003EC0 */
  5657. 00003E50  7520                     moveq.l    D2, 0x20
  5658. 00003E52  0000 009E                ori.b      D0, 0x9E
  5659. 00003E56  7164                     moveq.l    D0, 0x64
  5660. 00003E58  2020                     move.l     D0, -[A0]
  5661. 00003E5A  0000 00E8                ori.b      D0, 0xE8
  5662. 00003E5E  6B62                     bmi        +0x64 /* 00003EC2 */
  5663. 00003E60  6420                     bcc        +0x22 /* 00003E82 */
  5664. 00003E62  0000 011A                ori.b      D0, 0x1A
  5665. 00003E66  6174                     bsr        +0x76 /* 00003EDC */
  5666. 00003E68  6C6B                     bge        +0x6D /* 00003ED5 */
  5667. 00003E6A  0000 0142                ori.b      D0, 0x42 /* 'B' */
  5668. 00003E6E  6D6D                     blt        +0x6F /* 00003EDD */
  5669. 00003E70  7520                     moveq.l    D2, 0x20
  5670. 00003E72  0000 0164                ori.b      D0, 0x64 /* 'd' */
  5671. 00003E76  7261                     moveq.l    D1, 0x61
  5672. 00003E78  6D20                     blt        +0x22 /* 00003E9A */
  5673. 00003E7A  0000 0188                ori.b      D0, 0x88
  5674. 00003E7E  6C72                     bge        +0x74 /* 00003EF2 */
  5675. 00003E80  616D                     bsr        +0x6F /* 00003EEF */
  5676. label00003E82:
  5677. 00003E82  0000 0188                ori.b      D0, 0x88
  5678. 00003E86  0000 0000                ori.b      D0, 0x0
  5679. 00003E8A  0000 0000                ori.b      D0, 0x0
  5680. 00003E8E  7001                     moveq.l    D0, 0x01
  5681. 00003E90  6082                     bra        -0x7C /* 00003E14 */
  5682. 00003E92  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  5683. 00003E96  7004                     moveq.l    D0, 0x04
  5684. 00003E98  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  5685. // begin alternate branch 00003E9A-00003EA2
  5686. label00003E9A:
  5687. 00003E9A  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  5688. // end alternate branch 00003E9A-00003EA2
  5689. label00003E9A: // (misaligned)
  5690. 00003E9E  6712                     beq        +0x14 /* 00003EB2 */
  5691. 00003EA0  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  5692. // begin alternate branch 00003EA2-00003EA8
  5693. label00003EA2:
  5694. 00003EA2  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  5695. // end alternate branch 00003EA2-00003EA8
  5696. label00003EA2: // (misaligned)
  5697. 00003EA6  6604                     bne        +0x6 /* 00003EAC */
  5698. 00003EA8  5240                     addq.w     D0, 1
  5699. 00003EAA  6006                     bra        +0x8 /* 00003EB2 */
  5700. label00003EAC:
  5701. 00003EAC  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  5702. 00003EB0  5C80                     addq.l     D0, 6
  5703. label00003EB2:
  5704. 00003EB2  6000 FF60                bra        -0x9E /* 00003E14 */
  5705. 00003EB6  7000                     moveq.l    D0, 0x00
  5706. 00003EB8  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  5707. 00003EBC  6000 FF56                bra        -0xA8 /* 00003E14 */
  5708. label00003EC0:
  5709. 00003EC0  7000                     moveq.l    D0, 0x00
  5710. label00003EC2:
  5711. 00003EC2  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  5712. 00003EC6  5240                     addq.w     D0, 1
  5713. 00003EC8  6000 FF4A                bra        -0xB4 /* 00003E14 */
  5714. 00003ECC  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  5715. 00003ED2  6738                     beq        +0x3A /* 00003F0C */
  5716. 00003ED4  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  5717. 00003EDA  6734                     beq        +0x36 /* 00003F10 */
  5718. fn00003EDC:
  5719. 00003EDC  204F                     movea.l    A0, A7
  5720. 00003EDE  F280 0000                fnop
  5721. 00003EE2  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  5722. 00003EE4  3017                     move.w     D0, [A7]
  5723. 00003EE6  2E48                     movea.l    A7, A0
  5724. 00003EE8  0C40 1F18                cmpi.w     D0, 0x1F18
  5725. 00003EEC  6716                     beq        +0x18 /* 00003F04 */
  5726. 00003EEE  0C40 3F18                cmpi.w     D0, 0x3F18
  5727. label00003EF2:
  5728. 00003EF2  6710                     beq        +0x12 /* 00003F04 */
  5729. 00003EF4  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  5730. 00003EF8  670E                     beq        +0x10 /* 00003F08 */
  5731. 00003EFA  0C40 1F38                cmpi.w     D0, 0x1F38
  5732. 00003EFE  6708                     beq        +0xA /* 00003F08 */
  5733. 00003F00  7000                     moveq.l    D0, 0x00
  5734. 00003F02  600E                     bra        +0x10 /* 00003F12 */
  5735. label00003F04:
  5736. 00003F04  7001                     moveq.l    D0, 0x01
  5737. 00003F06  600A                     bra        +0xC /* 00003F12 */
  5738. label00003F08:
  5739. 00003F08  7002                     moveq.l    D0, 0x02
  5740. 00003F0A  6006                     bra        +0x8 /* 00003F12 */
  5741. label00003F0C:
  5742. 00003F0C  7003                     moveq.l    D0, 0x03
  5743. 00003F0E  6002                     bra        +0x4 /* 00003F12 */
  5744. label00003F10:
  5745. 00003F10  7000                     moveq.l    D0, 0x00
  5746. label00003F12:
  5747. 00003F12  6000 FF00                bra        -0xFE /* 00003E14 */
  5748. 00003F16  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  5749. 00003F1C  6E1C                     bgt        +0x1E /* 00003F3A */
  5750. 00003F1E  303C A89F                move.w     D0, 0xA89F
  5751. 00003F22  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5752. 00003F24  2408                     move.l     D2, A0
  5753. 00003F26  203C 0000 AB03           move.l     D0, 0xAB03
  5754. 00003F2C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5755. 00003F2E  203C 0000 0100           move.l     D0, 0x100
  5756. 00003F34  B488                     cmp.l      D2, A0
  5757. 00003F36  6606                     bne        +0x8 /* 00003F3E */
  5758. 00003F38  600A                     bra        +0xC /* 00003F44 */
  5759. label00003F3A:
  5760. 00003F3A  7000                     moveq.l    D0, 0x00
  5761. 00003F3C  6006                     bra        +0x8 /* 00003F44 */
  5762. label00003F3E:
  5763. 00003F3E  203C 0000 0200           move.l     D0, 0x200
  5764. label00003F44:
  5765. 00003F44  6000 FECE                bra        -0x130 /* 00003E14 */
  5766. 00003F48  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  5767. 00003F4C  41FA 0016                lea.l      A0, [PC + 0x16 /* 00003F64, value 0x3130B02 */]
  5768. 00003F50  2248                     movea.l    A1, A0
  5769. label00003F52:
  5770. 00003F52  1218                     move.b     D1, [A0]+
  5771. 00003F54  6700 FED2                beq        -0x12C /* 00003E28 */
  5772. 00003F58  B200                     cmp.b      D1, D0
  5773. 00003F5A  66F6                     bne        -0x8 /* 00003F52 */
  5774. 00003F5C  91C9                     sub.l      A0, A1
  5775. 00003F5E  2008                     move.l     D0, A0
  5776. 00003F60  6000 FEB2                bra        -0x14C /* 00003E14 */
  5777. 00003F64  0313                     btst       [A3], D1
  5778. 00003F66  0B02                     btst       D2, D5
  5779. 00003F68  0106                     btst       D6, D0
  5780. 00003F6A  0704                     btst       D4, D3
  5781. 00003F6C  0508                     btst       A0, D2
  5782. 00003F6E  0900                     btst       D0, D4
  5783. 00003F70  7000                     moveq.l    D0, 0x00
  5784. 00003F72  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  5785. 00003F76  6B16                     bmi        +0x18 /* 00003F8E */
  5786. 00003F78  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  5787. 00003F7C  0201 000F                andi.b     D1, 0xF
  5788. 00003F80  0C01 0001                cmpi.b     D1, 0x1
  5789. 00003F84  6608                     bne        +0xA /* 00003F8E */
  5790. 00003F86  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  5791. 00003F8A  1028 0007                move.b     D0, [A0 + 0x7]
  5792. label00003F8E:
  5793. 00003F8E  6000 FE84                bra        -0x17A /* 00003E14 */
  5794. 00003F92  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  5795. 00003F98  6D16                     blt        +0x18 /* 00003FB0 */
  5796. 00003F9A  7000                     moveq.l    D0, 0x00
  5797. 00003F9C  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  5798. 00003FA0  0C00 0001                cmpi.b     D0, 0x1
  5799. 00003FA4  670C                     beq        +0xE /* 00003FB2 */
  5800. 00003FA6  0C00 0003                cmpi.b     D0, 0x3
  5801. 00003FAA  6D04                     blt        +0x6 /* 00003FB0 */
  5802. 00003FAC  5340                     subq.w     D0, 1
  5803. 00003FAE  6002                     bra        +0x4 /* 00003FB2 */
  5804. label00003FB0:
  5805. 00003FB0  7000                     moveq.l    D0, 0x00
  5806. label00003FB2:
  5807. 00003FB2  6000 FE60                bra        -0x19E /* 00003E14 */
  5808. 00003FB6  303C A89F                move.w     D0, 0xA89F
  5809. 00003FBA  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5810. 00003FBC  2408                     move.l     D2, A0
  5811. 00003FBE  203C 0000 A88F           move.l     D0, 0xA88F
  5812. 00003FC4  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5813. 00003FC6  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  5814. 00003FCA  B488                     cmp.l      D2, A0
  5815. 00003FCC  670A                     beq        +0xC /* 00003FD8 */
  5816. 00003FCE  598F                     subq.l     A7, 4
  5817. 00003FD0  3F3C 0016                move.w     -[A7], 0x16
  5818. 00003FD4  A88F                     syscall    OSDispatch
  5819. 00003FD6  201F                     move.l     D0, [A7]+
  5820. label00003FD8:
  5821. 00003FD8  6000 FE3A                bra        -0x1C4 /* 00003E14 */
  5822. export_15:
  5823. fn00003FDC:
  5824. 00003FDC  225F                     movea.l    A1, [A7]+
  5825. 00003FDE  121F                     move.b     D1, [A7]+
  5826. 00003FE0  301F                     move.w     D0, [A7]+
  5827. 00003FE2  4A01                     tst.b      D1
  5828. 00003FE4  6704                     beq        +0x6 /* 00003FEA */
  5829. 00003FE6  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5830. 00003FE8  6002                     bra        +0x4 /* 00003FEC */
  5831. label00003FEA:
  5832. 00003FEA  A346                     syscall    GetOSTrapAddress, flags=3
  5833. label00003FEC:
  5834. 00003FEC  2E88                     move.l     [A7], A0
  5835. 00003FEE  4ED1                     jmp        [A1]
  5836. fn00003FF0:
  5837. 00003FF0  225F                     movea.l    A1, [A7]+
  5838. 00003FF2  101F                     move.b     D0, [A7]+
  5839. 00003FF4  205F                     movea.l    A0, [A7]+
  5840. 00003FF6  6604                     bne        +0x6 /* 00003FFC */
  5841. 00003FF8  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  5842. 00003FFA  6002                     bra        +0x4 /* 00003FFE */
  5843. label00003FFC:
  5844. 00003FFC  A40C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
  5845. label00003FFE:
  5846. 00003FFE  3E80                     move.w     [A7], D0
  5847. 00004000  4ED1                     jmp        [A1]
  5848. fn00004002:
  5849. 00004002  4E56 FFCE                link       A6, -0x0032
  5850. 00004006  204F                     movea.l    A0, A7
  5851. 00004008  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  5852. 0000400E  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  5853. 00004014  4228 001A                clr.b      [A0 + 0x1A]
  5854. 00004018  4228 001B                clr.b      [A0 + 0x1B]
  5855. 0000401C  42A8 001C                clr.l      [A0 + 0x1C]
  5856. 00004020  701A                     moveq.l    D0, 0x1A
  5857. 00004022  A060                     syscall    FSDispatch/HFSDispatch
  5858. 00004024  0C40 FFCE                cmpi.w     D0, 0xFFCE
  5859. 00004028  6602                     bne        +0x4 /* 0000402C */
  5860. 0000402A  A000                     syscall    Open/PBHOpen/HOpen
  5861. label0000402C:
  5862. 0000402C  226E 0008                movea.l    A1, [A6 + 0x8]
  5863. 00004030  32A8 0018                move.w     [A1], [A0 + 0x18]
  5864. 00004034  3D40 0012                move.w     [A6 + 0x12], D0
  5865. 00004038  4E5E                     unlink     A6
  5866. 0000403A  205F                     movea.l    A0, [A7]+
  5867. 0000403C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5868. 00004040  4ED0                     jmp        [A0]
  5869. export_16:
  5870. fn00004042:
  5871. 00004042  4E56 FFCE                link       A6, -0x0032
  5872. 00004046  204F                     movea.l    A0, A7
  5873. 00004048  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  5874. 0000404E  A001                     syscall    Close
  5875. 00004050  3D40 000A                move.w     [A6 + 0xA], D0
  5876. 00004054  4E5E                     unlink     A6
  5877. 00004056  205F                     movea.l    A0, [A7]+
  5878. 00004058  548F                     addq.l     A7, 2
  5879. 0000405A  4ED0                     jmp        [A0]
  5880. fn0000405C:
  5881. 0000405C  51C1                     sf         D1
  5882. 0000405E  6002                     bra        +0x4 /* 00004062 */
  5883. fn00004060:
  5884. 00004060  50C1                     st         D1
  5885. label00004062:
  5886. 00004062  4E56 FFCE                link       A6, -0x0032
  5887. 00004066  204F                     movea.l    A0, A7
  5888. 00004068  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  5889. 0000406E  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  5890. 00004074  226E 000C                movea.l    A1, [A6 + 0xC]
  5891. 00004078  2151 0024                move.l     [A0 + 0x24], [A1]
  5892. 0000407C  4268 002C                clr.w      [A0 + 0x2C]
  5893. 00004080  42A8 002E                clr.l      [A0 + 0x2E]
  5894. 00004084  4A01                     tst.b      D1
  5895. 00004086  6604                     bne        +0x6 /* 0000408C */
  5896. 00004088  A002                     syscall    Read
  5897. 0000408A  6002                     bra        +0x4 /* 0000408E */
  5898. label0000408C:
  5899. 0000408C  A003                     syscall    Write
  5900. label0000408E:
  5901. 0000408E  3D40 0012                move.w     [A6 + 0x12], D0
  5902. 00004092  226E 000C                movea.l    A1, [A6 + 0xC]
  5903. 00004096  22A8 0028                move.l     [A1], [A0 + 0x28]
  5904. 0000409A  4E5E                     unlink     A6
  5905. 0000409C  225F                     movea.l    A1, [A7]+
  5906. 0000409E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5907. 000040A2  4ED1                     jmp        [A1]
  5908. fn000040A4:
  5909. 000040A4  4E56 FFC0                link       A6, -0x0040
  5910. 000040A8  204F                     movea.l    A0, A7
  5911. 000040AA  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  5912. 000040B0  A014                     syscall    GetVol/PBHGetVol/HGetVol
  5913. 000040B2  3D40 0010                move.w     [A6 + 0x10], D0
  5914. 000040B6  226E 0008                movea.l    A1, [A6 + 0x8]
  5915. 000040BA  32A8 0016                move.w     [A1], [A0 + 0x16]
  5916. 000040BE  4E5E                     unlink     A6
  5917. 000040C0  225F                     movea.l    A1, [A7]+
  5918. 000040C2  508F                     addq.l     A7, 8
  5919. 000040C4  4ED1                     jmp        [A1]
  5920. fn000040C6:
  5921. 000040C6  4E56 FFC0                link       A6, -0x0040
  5922. 000040CA  204F                     movea.l    A0, A7
  5923. 000040CC  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  5924. 000040D2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  5925. 000040D8  A013                     syscall    FlushVol
  5926. 000040DA  3D40 000E                move.w     [A6 + 0xE], D0
  5927. 000040DE  4E5E                     unlink     A6
  5928. 000040E0  225F                     movea.l    A1, [A7]+
  5929. 000040E2  5C8F                     addq.l     A7, 6
  5930. 000040E4  4ED1                     jmp        [A1]
  5931. fn000040E6:
  5932. 000040E6  4E56 FFCE                link       A6, -0x0032
  5933. 000040EA  204F                     movea.l    A0, A7
  5934. 000040EC  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  5935. 000040F2  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  5936. 000040F8  A012                     syscall    SetEOF
  5937. 000040FA  3D40 000E                move.w     [A6 + 0xE], D0
  5938. 000040FE  4E5E                     unlink     A6
  5939. 00004100  225F                     movea.l    A1, [A7]+
  5940. 00004102  5C8F                     addq.l     A7, 6
  5941. 00004104  4ED1                     jmp        [A1]
  5942. fn00004106:
  5943. 00004106  4E56 FFCE                link       A6, -0x0032
  5944. 0000410A  204F                     movea.l    A0, A7
  5945. 0000410C  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  5946. 00004112  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  5947. 00004118  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  5948. 0000411E  A044                     syscall    SetFPos
  5949. 00004120  3D40 0010                move.w     [A6 + 0x10], D0
  5950. 00004124  4E5E                     unlink     A6
  5951. 00004126  225F                     movea.l    A1, [A7]+
  5952. 00004128  508F                     addq.l     A7, 8
  5953. 0000412A  4ED1                     jmp        [A1]
  5954. export_17:
  5955. 0000412C  225F                     movea.l    A1, [A7]+
  5956. 0000412E  101F                     move.b     D0, [A7]+
  5957. 00004130  205F                     movea.l    A0, [A7]+
  5958. 00004132  6606                     bne        +0x8 /* 0000413A */
  5959. 00004134  7007                     moveq.l    D0, 0x07
  5960. 00004136  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5961. 00004138  6004                     bra        +0x6 /* 0000413E */
  5962. label0000413A:
  5963. 0000413A  7007                     moveq.l    D0, 0x07
  5964. 0000413C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  5965. label0000413E:
  5966. 0000413E  3E80                     move.w     [A7], D0
  5967. 00004140  4ED1                     jmp        [A1]
  5968. export_18:
  5969. 00004142  225F                     movea.l    A1, [A7]+
  5970. 00004144  101F                     move.b     D0, [A7]+
  5971. 00004146  205F                     movea.l    A0, [A7]+
  5972. 00004148  6604                     bne        +0x6 /* 0000414E */
  5973. 0000414A  A200                     syscall    OpenSlot, flags=2
  5974. 0000414C  6002                     bra        +0x4 /* 00004150 */
  5975. label0000414E:
  5976. 0000414E  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  5977. label00004150:
  5978. 00004150  3E80                     move.w     [A7], D0
  5979. 00004152  4ED1                     jmp        [A1]
  5980. export_19:
  5981. 00004154  225F                     movea.l    A1, [A7]+
  5982. 00004156  101F                     move.b     D0, [A7]+
  5983. 00004158  205F                     movea.l    A0, [A7]+
  5984. 0000415A  6604                     bne        +0x6 /* 00004160 */
  5985. 0000415C  A208                     syscall    Create/PBHCreate/HCreate, flags=2
  5986. 0000415E  6002                     bra        +0x4 /* 00004162 */
  5987. label00004160:
  5988. 00004160  A608                     syscall    Create/PBHCreate/HCreate, flags=6
  5989. label00004162:
  5990. 00004162  3E80                     move.w     [A7], D0
  5991. 00004164  4ED1                     jmp        [A1]
  5992. export_20:
  5993. 00004166  225F                     movea.l    A1, [A7]+
  5994. 00004168  101F                     move.b     D0, [A7]+
  5995. 0000416A  205F                     movea.l    A0, [A7]+
  5996. 0000416C  6604                     bne        +0x6 /* 00004172 */
  5997. 0000416E  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  5998. 00004170  6002                     bra        +0x4 /* 00004174 */
  5999. label00004172:
  6000. 00004172  A60C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
  6001. label00004174:
  6002. 00004174  3E80                     move.w     [A7], D0
  6003. 00004176  4ED1                     jmp        [A1]
  6004. export_21:
  6005. 00004178  225F                     movea.l    A1, [A7]+
  6006. 0000417A  101F                     move.b     D0, [A7]+
  6007. 0000417C  205F                     movea.l    A0, [A7]+
  6008. 0000417E  6604                     bne        +0x6 /* 00004184 */
  6009. 00004180  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  6010. 00004182  6002                     bra        +0x4 /* 00004186 */
  6011. label00004184:
  6012. 00004184  A60D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
  6013. label00004186:
  6014. 00004186  3E80                     move.w     [A7], D0
  6015. 00004188  4ED1                     jmp        [A1]
  6016. fn0000418A:
  6017. 0000418A  4E56 0000                link       A6, 0
  6018. 0000418E  594F                     subq.w     A7, 4
  6019. 00004190  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  6020. 00004196  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  6021. 0000419A  A9A0                     syscall    GetResource
  6022. 0000419C  226E 000C                movea.l    A1, [A6 + 0xC]
  6023. 000041A0  4211                     clr.b      [A1]
  6024. 000041A2  201F                     move.l     D0, [A7]+
  6025. 000041A4  6722                     beq        +0x24 /* 000041C8 */
  6026. 000041A6  2040                     movea.l    A0, D0
  6027. 000041A8  2050                     movea.l    A0, [A0]
  6028. 000041AA  3018                     move.w     D0, [A0]+
  6029. 000041AC  322E 0008                move.w     D1, [A6 + 0x8]
  6030. 000041B0  6716                     beq        +0x18 /* 000041C8 */
  6031. 000041B2  B240                     cmp.w      D1, D0
  6032. 000041B4  6212                     bhi        +0x14 /* 000041C8 */
  6033. 000041B6  7000                     moveq.l    D0, 0x00
  6034. label000041B8:
  6035. 000041B8  5341                     subq.w     D1, 1
  6036. 000041BA  6706                     beq        +0x8 /* 000041C2 */
  6037. 000041BC  1018                     move.b     D0, [A0]+
  6038. 000041BE  D1C0                     add.l      A0, D0
  6039. 000041C0  60F6                     bra        -0x8 /* 000041B8 */
  6040. label000041C2:
  6041. 000041C2  1010                     move.b     D0, [A0]
  6042. 000041C4  5240                     addq.w     D0, 1
  6043. 000041C6  A02E                     syscall    BlockMove/BlockMoveData
  6044. label000041C8:
  6045. 000041C8  4E5E                     unlink     A6
  6046. 000041CA  205F                     movea.l    A0, [A7]+
  6047. 000041CC  508F                     addq.l     A7, 8
  6048. 000041CE  4ED0                     jmp        [A0]
  6049.